A
Amateur
I am trying to run a Macro from another DB with a command button and have the
following code:
Private Sub Command20_Click()
Call Shell("""C:\Program Files\Microsoft
Office\OFFICE11\MSACCESS.EXE""""C:\cps208\writeinvoices.mdb""/X
invoicenumbersdelete", 1)
End Sub
The Paths MSAccess.exe and my database are correct. I get the following
error message:
"The command line you used to start Microsoft Office Access contains an
option that Microsoft Office Access doesn't recognize."
Can someone tell me what that means and how to correct it?
Thanks
Klaus
following code:
Private Sub Command20_Click()
Call Shell("""C:\Program Files\Microsoft
Office\OFFICE11\MSACCESS.EXE""""C:\cps208\writeinvoices.mdb""/X
invoicenumbersdelete", 1)
End Sub
The Paths MSAccess.exe and my database are correct. I get the following
error message:
"The command line you used to start Microsoft Office Access contains an
option that Microsoft Office Access doesn't recognize."
Can someone tell me what that means and how to correct it?
Thanks
Klaus