Move / rename a file

hardy1976

Still learning...
Local time
Today, 13:48
Joined
Apr 27, 2006
Messages
200
Hi,

I have a process of loading a file to a temporary table and then appending the relevant records to another table.

Is there a way I can use VBA to either rename the file or ideally move it to another folder?

Regards
H.
 
VBA can drive Windows itself.

Check out the FileSystemObject.
 
but simply

name oldfile newfile

will do the job.
 

Users who are viewing this thread

Back
Top Bottom