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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application open Word

Status
Not open for further replies.

Bakunin

Programmer
Dec 21, 2000
31
GB
Hi,
I would really appreciate some help on the following: We have a
Macro that when ran will insert a footer in each page of the existing
document, but parsing details held in the document header.

However we want to run the macro when the document opens. I am sure
there is an event associated with this ( Document Opening up ) where
we can call the AddFooterDetails function from, however I am not
sufficiently familiar with the macro object model to do this.

Also is it possible to call a function when the "Save As" menu option
is selected in Word, as we may need to implement this functionality
from this event also.

Many thanks in advance
 
For a macro to run upon opening, use Sub Auto_Open().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top