Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Word macro in normal.dot
I created a message box macro (using VB Editor) to run upon opening a file.
I would like it to run only when I open the document I created it in. Instead, it appears connected to normal.dot and runs in every document I open. How do I restrict its application? Thank you. P.S. I know no VB, I just used the drop downs to create the macro. |
#2
|
|||
|
|||
Open the document you want the code to effect. Press Alt+F11 to open the vb
editor. Press CTRL+r to ensure the project explorer is open. Copy and cut the code from the Normal project to the Project(whatevery your document is called). -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Louisiana Paul wrote: I created a message box macro (using VB Editor) to run upon opening a file. I would like it to run only when I open the document I created it in. Instead, it appears connected to normal.dot and runs in every document I open. How do I restrict its application? Thank you. P.S. I know no VB, I just used the drop downs to create the macro. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro help | Microsoft Word Help | |||
is word perfect compatible with office word? | Microsoft Word Help | |||
Locking Two Words Together to Make a Proper Compound Noun in Word | Microsoft Word Help | |||
creating forms | Microsoft Word Help | |||
How to change merge forms from Word Perfect to Microsoft Word | Microsoft Word Help |