Press F5 to display the list of macros in your document and select AutoExec. Then click Run. You should see a MessageBox display something like the image above.
Click the OK button on the MessageBox and then close the Visual Basic Editor. Save the document as a document template type in the folder that you have now learned (from the message in the MessageBox) is the startup folder. It doesn't matter what you name the document template as long as it is in the startup folder. Now, close Word and open any document again. This time, you should see the MessageBox displayed as soon as Word opens.
You probably don't want this message to be displayed whenever you open Word from this point on. To stop it, just delete the document template you saved earlier from your startup folder.


