DavidB12345
Technical User
Hi,
I am trying to open a Word document at a bookmark location from a button on an Access Form.
The following code works to open the document:
Call Shell("winword ""c:\folder\myDocument.doc""",1)
The Word Macro that goes to the bookmark is called FilePrep1 and runs correctly when I execute it in Word. There is a \mMACROname switch to run a macro from the command line when you start Word, BUT I HAVE TRIED IT IN THE ABOVE CODE AFTER winword AND AFTER EACH QUOTATION MARK.
The document will open but it never executes the macro.
Any suggestions. Thanks...
I am trying to open a Word document at a bookmark location from a button on an Access Form.
The following code works to open the document:
Call Shell("winword ""c:\folder\myDocument.doc""",1)
The Word Macro that goes to the bookmark is called FilePrep1 and runs correctly when I execute it in Word. There is a \mMACROname switch to run a macro from the command line when you start Word, BUT I HAVE TRIED IT IN THE ABOVE CODE AFTER winword AND AFTER EACH QUOTATION MARK.
The document will open but it never executes the macro.
Any suggestions. Thanks...