I
IT-1957
Hi,
I'm trying to move a file witha variable name to a different folder but a
get a File not Found Error, Can you help me with this?
This is the code I'm trying to use:
Function Test()
Dim SourceFile, DestinationFile, MyFile
MyFile = Dir("C:\PICTURE\*.jpg")
SourceFile = "C:\PICTURES\MyFile"
DestinationFile = "C:\Database\Test.jpg"
FileCopy SourceFile, DestinationFile
End Function
Any Help will be really appreciate it.
Thank you.
I'm trying to move a file witha variable name to a different folder but a
get a File not Found Error, Can you help me with this?
This is the code I'm trying to use:
Function Test()
Dim SourceFile, DestinationFile, MyFile
MyFile = Dir("C:\PICTURE\*.jpg")
SourceFile = "C:\PICTURES\MyFile"
DestinationFile = "C:\Database\Test.jpg"
FileCopy SourceFile, DestinationFile
End Function
Any Help will be really appreciate it.
Thank you.