I have a simple question - for a problem that I have not been able to solve - I'm trying to write a VB form to do this simple procedure automatically.
Open a plain text file c:\test\A54001.min
Save the file exactly as it is.
Close the file.
The catch is that I want to do it for 1200 files, in sequence A54001.min thru A551200.min.
I can't even do it for 1 file.
I've written this code for a VB form:
Private Sub Command1_Click()
On Error GoTo FileError
Open "c:\test\A54001.min" For Append As #1
Close #1
Exit Sub
FileError:
MsgBox "File Error!"
End Sub
It runs but nothing happens to my file.
Please help!!!
Thanks in advanced...
Open a plain text file c:\test\A54001.min
Save the file exactly as it is.
Close the file.
The catch is that I want to do it for 1200 files, in sequence A54001.min thru A551200.min.
I can't even do it for 1 file.
I've written this code for a VB form:
Private Sub Command1_Click()
On Error GoTo FileError
Open "c:\test\A54001.min" For Append As #1
Close #1
Exit Sub
FileError:
MsgBox "File Error!"
End Sub
It runs but nothing happens to my file.
Please help!!!
Thanks in advanced...