Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862

    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.

  2. #17
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    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.

    Code:
    \\ServerName\Folder\FileName.accdb /x MacroName
    Then I create an html page and put this in it

    Code:
    <a href = "C:\Test\ShortcutName.lnk">Hello</a>

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-24-2015, 12:59 AM
  2. Replies: 2
    Last Post: 01-14-2015, 12:00 PM
  3. View only specific records in form view
    By drnld in forum Access
    Replies: 5
    Last Post: 07-22-2014, 12:21 PM
  4. Replies: 9
    Last Post: 10-09-2013, 08:45 AM
  5. Open an external folder specific by a form field
    By AccessNoob16 in forum Forms
    Replies: 11
    Last Post: 04-09-2012, 01:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums