A
Adam Thwaites
If I type this in the run box it works fine:
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" "C:\Database\PAF
Address A-C.mdb" /compact
How ever If I try and run it in VBA using the shell command it doesn't do
anything:
Shell "cmd.exe 'C:\Program Files\Microsoft Office\Office11\msaccess.exe'
'C:\Database\PAF Address A-C.mdb' /compact"
Is there something wrong with my code?
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" "C:\Database\PAF
Address A-C.mdb" /compact
How ever If I try and run it in VBA using the shell command it doesn't do
anything:
Shell "cmd.exe 'C:\Program Files\Microsoft Office\Office11\msaccess.exe'
'C:\Database\PAF Address A-C.mdb' /compact"
Is there something wrong with my code?