´M§ä¯S©w¦r¤¸,¨Ã±N¤§«áªº¦r¤¸§ï¬°¤j¼g
- ©«¤l
- 23
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 36
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Ë«n
- µù¥U®É¶¡
- 2010-7-15
- ³Ì«áµn¿ý
- 2012-4-30
|
¦^´_ 21# Hsieh
DEAR Hsieh
¦A³Â·Ð¤F. |
|
hi...
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-28
|
¦^´_ 22# txiec - Sub Ex()
- fd = ThisWorkbook.Path & "\" '¤å¦rÀɥؿý
- fs = Dir(fd & "*.txt") '¥Ø¿ý¤¤ªº¤å¦rÀɦW
- Do Until fs = ""
- Open fd & "temp.txt" For Output As #2 '·Ç³Æ¼È¦sÀÉ
- Open fd & fs For Input As #1 '¶}±ÒnÂର¤j¼gªº¤å¦rÀɧ@¿é¤J¥Î
- Do While Not EOF(1)
- Line Input #1, mystr
- If mystr Like "M/C(*),*" Then '¦pªG¸Ó¦r¦êÃþ¦ü¦¹¼Ë¦¡
- restr = Mid(mystr, InStr(mystr, "),")) '¨ú±onÂର¤j¼gªº³¡¥÷¦r¦ê
- mystr = Replace(mystr, restr, UCase(restr)) '±NìÅܼÆ
- End If
- Print #2, mystr '±N¤w¸gÂন¤j¼gªº¦r¦ê¼g¤J¼È¦sÀÉ
- Loop
- Close #1
- Close #2
- Open fd & fs For Output As #2 '¥´¶}»ÝÂà¼gªº¤å¦rÀɷdzƼg¤J
- Open fd & "temp.txt" For Input As #1 '¶}±Ò¤wÂন¤j¼gªº¼È¦sÀÉ
- Do While Not EOF(1)
- Line Input #1, mystr 'Ū¥X¼È¦sÀɸê®Æ
- Print #2, mystr '±N¼È¦sÀɦr¦ê¼g¤J»ÝקïÀÉ®×
- Loop
- Close #1
- Close #2
- Kill fd & "temp.txt" '§R°£¼È¦sÀÉ
- Loop
- End Sub
½Æ»s¥N½X |
|
¾Ç®üµL²P_¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 23
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 36
- ÂI¦W
- 0
- §@·~¨t²Î
- VISTA
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Ë«n
- µù¥U®É¶¡
- 2010-7-15
- ³Ì«áµn¿ý
- 2012-4-30
|
¦^´_ 23# Hsieh
DEAR ..
THS... §Ú¦A»°§ÖTRY ¬Ý¬Ý,,, ·PÁÂ.. |
|
hi...
|
|
|
|
|