- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 249
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-17
|
¦^´_ 1# linshin1999
Input # ³¯z¦¡
±q¤w¶}±Òªº´`§ÇÀɤ¤Åª¨ú¸ê®Æ¡A¨Ã±N¸ê®Æ«ü©wµ¹ÅܼÆ
VBA»¡©ú½d¨Ò
Dim MyString, MyNumber
Open "TESTFILE" For Input As #1 ' ¶}±Ò¿é¤JÀɮסC
Do While Not EOF(1) ' °õ¦æ°j°éª½¨ìÀɧÀ¬°¤î¡C
Input #1, MyString, MyNumber ' ±N¸ê®ÆŪ¤J¨âÓÅܼƤ¤¡C
Debug.Print MyString, MyNumber ' ±N¸ê®Æ¦b¡u¥ß§Y¡vµøµ¡¤¤Åã¥Ü¡C
Loop
Close #1 ' Ãö³¬ÀɮסC |
|