marco's

Konnan
08-07-2001, 10:50 PM
im trying to get macro to run as soon as i open a my document

Conan Visinko

BlueRaja
08-08-2001, 02:09 AM
Hi,

There is an open event that belongs to the document you can use. It is called:

Private Sub Document_Open()

Hope this helps.

KesleyK
08-15-2001, 02:47 PM
Or, you could name your macro one of the following to do what you wish:

AutoExec runs when you start Word or load a global template
AutoNew runs each time you create a new document
AutoOpen runs each time you open an existing document
AutoClose runs each time you close a document
AutoExit runs when you quit Word or unload a global template





"Recently reported by the Assoc. of Incomplete Research, 7 out of 10 people." -- K. Nealon, SNL

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum