IMO
Now Known as ___
- Local time
- Today, 05:47
- Joined
- Sep 11, 2002
- Messages
- 723
Hi All,
Can anyone tell me why I'm getting the error 'Bad File Name or Number' when using FileCopy??
Private Sub Command1_Click()
Dim strSource As String
Dim strDestination As String
strSource = "C:\IMPORTCSV\*.csv"
strDestination = "C:\HISTORYCSV"
FileCopy strSource, strDestination
End Sub
Thanks
IMO
Can anyone tell me why I'm getting the error 'Bad File Name or Number' when using FileCopy??
Private Sub Command1_Click()
Dim strSource As String
Dim strDestination As String
strSource = "C:\IMPORTCSV\*.csv"
strDestination = "C:\HISTORYCSV"
FileCopy strSource, strDestination
End Sub
Thanks
IMO