J
joseph micheli
I am trying to execute a move command in VBA for Access using the Shell
function. The code I'm using is as follows:
x = Shell("""MOVE ""P:\Field Audits\FAT\CompletedAudits\*.xls"" ""P:\Field
Audits\FAT\UploadedAudits\""")
The move command works fine when included in a .bat file and called from the
VBA module with the Shell function. However, I would like to be able to move
files one at a time instead enmass via the batch file.
The paths are good and there is a file to be moved. Any suggestions would
be greatly appreciated.
Thanks.
function. The code I'm using is as follows:
x = Shell("""MOVE ""P:\Field Audits\FAT\CompletedAudits\*.xls"" ""P:\Field
Audits\FAT\UploadedAudits\""")
The move command works fine when included in a .bat file and called from the
VBA module with the Shell function. However, I would like to be able to move
files one at a time instead enmass via the batch file.
The paths are good and there is a file to be moved. Any suggestions would
be greatly appreciated.
Thanks.