I need help moving a file and renaming a file, but I can't use the traditional:
I need to be able to have this run in the current working in directory, this is because the macro gets moved onto different servers to run.
Eg. \folder1\test.xls as \folder2\test-7-18-2011.xls
Code:
[COLOR=#009900][COLOR=#009900]Sub DoMove()[/COLOR]
[COLOR=#009900]Name "c:\folder1\test.xls" As "c:\folder2\test.xls"[/COLOR]
[COLOR=#009900]End Sub[/COLOR]
[/COLOR]
I need to be able to have this run in the current working in directory, this is because the macro gets moved onto different servers to run.
Eg. \folder1\test.xls as \folder2\test-7-18-2011.xls