Reply
 
Thread Tools Display Modes
  #1   Report Post  
Louisiana Paul
 
Posts: n/a
Default 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   Report Post  
Greg Maxey
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro help Kathryn Microsoft Word Help 22 May 12th 05 01:04 AM
is word perfect compatible with office word? Noreen Microsoft Word Help 1 May 11th 05 11:17 PM
Locking Two Words Together to Make a Proper Compound Noun in Word WorkingWoman Microsoft Word Help 2 April 7th 05 02:33 PM
creating forms Fluffypink Microsoft Word Help 4 March 9th 05 04:17 PM
How to change merge forms from Word Perfect to Microsoft Word dollfindance Microsoft Word Help 2 December 30th 04 03:35 PM


All times are GMT +1. The time now is 05:29 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"