Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Ben Griffiths wrote:
I'm creating a new template for word i.e. A *.dot file. Basically once its finished it will automatically perform a mail merge. However, I cannot find any information on whether or not I can get a macro to run automatically when a word document is opened based on my new template. Is there an option I can set? or a piece of code I can borrow? Hi Ben, The trick is in the name you give to your macro and where you store it. Name the macro Document_Open or AutoOpen and store it in your template. See http://word.mvps.org/FAQs/MacrosVBA/DocumentEvents.htm for a description. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Starting Word 2003 from within an application | Microsoft Word Help | |||
Microsoft word files are getting deleted automatically from the c. | Microsoft Word Help | |||
Is it possible to make a new style that automatically creates a d. | Microsoft Word Help | |||
Don't wipe out the clipboard when starting WORD | Microsoft Word Help | |||
How do I automatically indent text to line up with headings | Microsoft Word Help |