Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2006

Tip: Looking for answers? Try searching our database.

Create macro in a template?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jknapp1005 - 31 Aug 2006 16:22 GMT
Yesterday I submitted a question about disappearing macros. It was suggested
that I create a macro in a template that I should save in the Word Startup
folder. How do you save a macro as a template?
Jean-Guy Marcil - 31 Aug 2006 18:41 GMT
jknapp1005 was telling us:
jknapp1005 nous racontait que :

> Yesterday I submitted a question about disappearing macros. It was
> suggested that I create a macro in a template that I should save in
> the Word Startup folder. How do you save a macro as a template?

Create a blank document,
Do "Save As" and Select "Template" in file type,
Save it to the Word Start-up folder
   (To find out what it is, do Tools > Options > File Locations tab
   and note the Start-up folder in the list of Word folders),
Do ALT-F11 to access the Visual Basic Editor (VBE),
Right click on your template name in the list of available projects
   (Top left pane under the menus) and select "Standard Module",
In the pane on the right, paste the code you were given,
Save your template,
Quit and restart Word to activate your template which is now in
   the start-up folder

For more info, see
   http://word.mvps.org/faqs/macrosvba/CreateAMacro.htm

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.