I am attempting to move a file and rename it. The code I am currently trying to use is:
[My.Computer.FileSystem.MoveFile("C:\My Documents\File2*.xls", "C:\My Documents\Sales\Processed2.xls")]
I am getting a compile error.
Any thoughts?, please advise.
Belstoy
[My.Computer.FileSystem.MoveFile("C:\My Documents\File2*.xls", "C:\My Documents\Sales\Processed2.xls")]
I am getting a compile error.
Any thoughts?, please advise.
Belstoy