AutoNew macro doesn't run

J

John Bacon

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?
 
C

Cindy M -WordMVP-

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 :)
 
P

pkovacevic

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
 

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