macro on open

  • Thread starter VinceB1 via OfficeKB.com
  • Start date
V

VinceB1 via OfficeKB.com

hello there,

i am after getting a macro to run when i open a template or open a document
from the template. I am using word 2003 and have tried

Autoopen(), Auto_open(), Document_open() and Document_New() all of which seem
to have no effect.

i even tried putting these into normal with the same outcome.

any help would be greatly appreciated.
 
V

VinceB1 via OfficeKB.com

VinceB1 said:
hello there,

i am after getting a macro to run when i open a template or open a document
from the template. I am using word 2003 and have tried

Autoopen(), Auto_open(), Document_open() and Document_New() all of which seem
to have no effect.

i even tried putting these into normal with the same outcome.

any help would be greatly appreciated.

forgot to mention AutoOpen()
 
C

Cindy M.

Hi VinceB1,
i am after getting a macro to run when i open a template or open a document
from the template. I am using word 2003 and have tried

Autoopen(), Auto_open(), Document_open() and Document_New() all of which seem
to have no effect.

i even tried putting these into normal with the same outcome.
Try naming a macro: Sub AutoNew()

This will run when a new document is created from a template usin the File/New
command or double-clicking the template name in the Windows Explorer.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top