G
Guest
I have a word doc that I'm using as a template with MS Access. I've build a
macro in the word doc that locates a specific line of text, positions down
one line and then inserts an excel spreadsheet into it. The directory where
the excel spreadsheet exists varries from user to user. I need a way to
dynamically set the path to the excel spreadsheet via VBA in a word macro.
In MS Access I can use CURRENTPROJECT.PATH to get a system variable for the
current project path. Is there a similar VBA variable in Word?
Thanks in advance for your help!
macro in the word doc that locates a specific line of text, positions down
one line and then inserts an excel spreadsheet into it. The directory where
the excel spreadsheet exists varries from user to user. I need a way to
dynamically set the path to the excel spreadsheet via VBA in a word macro.
In MS Access I can use CURRENTPROJECT.PATH to get a system variable for the
current project path. Is there a similar VBA variable in Word?
Thanks in advance for your help!