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 / October 2007

Tip: Looking for answers? Try searching our database.

AutoNew macro doesn't run

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Bacon - 12 Jan 2006 09:19 GMT
Word 2002
I'm starting word from command line with /t<template> switch.
The AutoNew macro doesn't start.
It does start when I open a new doc based on the template from windows.
I've tried using the /m<macro> name switch as documented on web but this
also doen't run the macro.
What clever trick am I missing?
Cindy M  -WordMVP- - 12 Jan 2006 10:22 GMT
Hi =?Utf-8?B?Sm9obiBCYWNvbg==?=,

> Word 2002
> I'm starting word from command line with /t<template> switch.
> The AutoNew macro doesn't start.

this is expected behavior

> It does start when I open a new doc based on the template from windows.
> I've tried using the /m<macro> name switch as documented on web but this
> also doen't run the macro.

The /m switch only runs macros saved in the Normal.dot template

There is no way to trigger a macro in a template when running it from the
command line.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :-)
pkovacevic - 10 Oct 2007 16:05 GMT
Cindy:

I am having a similar problem with AutoNew in Word 2007 but my template is
on a shared network drive, I can bring up the template from any pc in the
office; however, the macro is missing.  I have set the template to read only
but that has not fixed the problem.  What am I missing here?

Thanks in advance! :)

Pete Kovacevic

> Hi =?Utf-8?B?Sm9obiBCYWNvbg==?=,
>
[quoted text clipped - 20 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)

Rate this thread:






 
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.