View Single Post
  #3   Report Post  
eddie_kumar eddie_kumar is offline
Junior Member
 
Posts: 1
Default

Quote:
Originally Posted by UCHelp View Post
I figured this out on my own. Thanks.

What I did was made sure I created the macro for that document only, and then when the Visual Basic program is launched, expanded the Microsoft Word Objects folder on the left hand side, and double-clicked "ThisDocument" then added the macro's VBA code to the window that pops up. Then I saved, then saved the document.

Another easy way is to use the "Organizer" to assign/transfer across macros. see steps below:

Porting across 'Styles' or 'Macros' from one word doc/template to another:
• Open "Templates and Add-ins" dialogbox ( Developer tab - (under Template) Document Template )
• 'Organizer' button
• Under 'Style' tab, 'Copy' across the Styles and under 'Macros' tab, Copy across the Macros between 2 documents / templates (shown in 2 columns)
• Note: you can Open or Close word documents or templates by clicking the 'Open/Close' buttons below.
Ref: Title: Word: Use the Organizer to copy macros, styles from one document to another (goto: cybertext.wordpress.com/2010/09/20/word-use-the-organizer-to-copy-macros-styles-from-one-document-to-another/ ).