Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

macro on open

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
VinceB1 - 20 Sep 2006 11:37 GMT
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.
VinceB1 - 20 Sep 2006 11:45 GMT
>hello there,
>
[quoted text clipped - 7 lines]
>
>any help would be greatly appreciated.

forgot to mention AutoOpen()
Cindy M. - 20 Sep 2006 14:16 GMT
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
[quoted text clipped - 3 lines]
>  
> 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 :-)
VinceB1 - 21 Sep 2006 16:19 GMT
Thank you very much,

Works a charm.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.