Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy - I feel bad asking:)

Status
Not open for further replies.

Sadukar

Technical User
Feb 19, 2003
159
IE
I have a goodish idea of VBA but I have ever only worked with it in Access.
How do I get the autoexec module to run on start-up in Word.

Thanks
S.
 
You have to add your template to the folder "startup" in the office folder. First then will the autoexec run. If the autoexec module is in the Normal template then you don't have to do this. It should start automatically.

You can also use autoopen which runs every time you open an existing document which is based on the template.
simply name the prosedure sub AutoOpen()





Pål Nesteby

PDC-Tangen
Norway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top