Hello
I am using the Shell command and having problems writing the path of some
arguments
Example:
Dim MyPath as String
MyPath = "C:\Program Files\Microsoft Office\Office\MSAccess.exe C:\Program
Files\MyData.mdb"
A = Shell(MyPath, 1)
Because of the space between (Program) and (Files) in C:\Program
Files\MyData.mdb the Shell
command looks for a database called C:\Program.mdb.
It doesn't seem to mind the space between (Program) and (Files) and
the space between (Microsoft) and (Office) in the path to MSAccess.exe.
I must be missing some brackets or quotation marks in the path that would
allow
Shell to recognize the full path of the mdb.
Thanks
G.Gerard