Solved

How to write an OnLoad macro for MS Word document

Posted on 2007-11-27
5
1,310 Views
Last Modified: 2011-09-20
How to write an OnLoad macro for MS Word document?

No matter what the macro does, but I can't get it to run when the document loads
0
Comment
Question by:yossikally
  • 2
  • 2
5 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 20357987
office version?
0
 

Author Comment

by:yossikally
ID: 20358574
11, but it should run on any XP
0
 
LVL 15

Expert Comment

by:cquinn
ID: 20358692
Create a macro called AutoOpen, or one called Main in a module called AutoOpen
0
 

Author Comment

by:yossikally
ID: 20358800
Anthing I can do to avoid the annoying security message?
0
 
LVL 15

Accepted Solution

by:
cquinn earned 125 total points
ID: 20362091
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question