|
-
Jan 30th, 2006, 09:14 AM
#1
Thread Starter
New Member
run word macro onload
Hello
How can I trigger a macro after a document is loaded?
I tried command line params but that doesn't work (runs the macro before the document is loaded)
-
Jan 30th, 2006, 10:33 AM
#2
Re: run word macro onload
If the macro is contained with the document that you are opening then you can just call it from the Document_Open event procedure in the ThisDocument Object Module.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Jan 30th, 2006, 05:12 PM
#3
Thread Starter
New Member
Re: run word macro onload
No, I'm afraid it's not. that's what makes it triky.
Actually, I am opening it thourgh javascript from a web page (intranet web application) and I launch word with command parameters to load an XML and an XSL style sheet, and what I need to do is hide the gridlines (as in table menu) and I couldn't find that setting in registry so I think I can only fix it with a macro to run after the document loads. However, I just can't find a way to trigger it ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|