´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
|
´M§ä¯S©w¦r¤¸,¨Ã±N¤§«áªº¦r¤¸§ï¬°¤j¼g
dear . ¥ý¶i,,
½Ð¦AÀ°¦£ §ï¤@¤U,
¥H¤U¬°,¥ý«e¥Îªº... ±N¤å¦rÀɤº¤§¦Pexcel a5 ¤º®e,¨ú¥N¬° b5 ,save.
»Ý¨D.
mystr = Replace(TEXTLINE, [a5], [b5]) ->>>>>>>??
¦p¦ó§ï¦¨, ´M§ä¯S©w¦r¤¸,¨Ã±N¤§«áªº¦r¤¸§ï¬°¤j¼g ??
½Ð¦AÀ°¦£..
Sub date_change()
fd = [a2]
fo = [B2]
If Dir(fo, vbDirectory) = "" Then
MkDir fo
End If
fs = Dir(fd & "*.CSV")
Do Until fs = ""
Open fo & fs For Output As #2
Open fd & fs For Input As #1
Do While Not EOF(1)
Line Input #1, TEXTLINE
mystr = Replace(TEXTLINE, [a5], [b5]) ->>>>>>>??
Print #2, mystr
Loop
Close #1
Close #2
'Kill fd & fs
fs = Dir()
Loop
End Sub |
|
hi...
|
|
|
|
|
- ©«¤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...
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 254
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-23
|
¦^´_ 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
|
¦^´_ 21# Hsieh
DEAR Hsieh
¦A³Â·Ð¤F. |
|
hi...
|
|
|
|
|
- ©«¤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
|
DEAR..
¤ÓÃø¤F,TRY ¤£°Ê,,,
ÁٽЦU¦ì¥ý¶i,,, À°À°.... |
|
hi...
|
|
|
|
|
- ©«¤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
|
¦^´_ 18# Hsieh
DEAR Hsieh ¡@
¡@§ÚTRY ¬Ý¬Ý,...
THS. |
|
hi...
|
|
|
|
|
- ©«¤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
|
¦^´_ 16# Hsieh
dear ..
¬Oªº,¤F¸Ñ.
¬O§_¦³¾÷·|,ª½±µ§ä
" ), " ¤§«á,¤§¦r¥Ó,Âà¤j¼g
" M/C(2) " |
|
hi...
|
|
|
|
|