Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

Open a macro on startup

I have created a macro with Word using VBA and i was wondering how would you get the macro to startup automatically when the user opens the document?/

thanks for any help
0
caz1805
Asked:
caz1805
1 Solution
 
GrahamSkanRetiredCommented:
Put the macro code in the Document_Open event of the ThisDocument module of the document
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now