I am having a hard time getting the script to work with the switch. There must be a way to do it. Just have not figured it out yet.
I am having a hard time getting the script to work with the switch. There must be a way to do it. Just have not figured it out yet.
OK, had trouble getting the syntax correct to include the file path and the switch because of the spaces involved when adding the switch. So I came up with a workaround. I created a shortcut in a test folder in my C drive. The shortcut opens the Access file using the switch. Here is an example of what I used to create the shortcut.
Then I create an html page and put this in itCode:\\ServerName\Folder\FileName.accdb /x MacroName
Code:<a href = "C:\Test\ShortcutName.lnk">Hello</a>