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作者: kimbal 時間: 2011-2-13 13:36