i would like to test within the autoexec-macro if word has been opened
as an application or by double-clicking a document.
yours dieter

Re: starting status of word by Helmut

Helmut
Wed Mar 29 13:01:39 CST 2006

Hi Dieter,

seems that there is high demand on ontime-macros right now.

After auto-macros have completed,
there is a document with a path <> "",
if double-clicking has opened a doc.

See:
http://groups.google.de/group/microsoft.public.word.vba.general/browse_frm/thread/18dfc28fac640f3f/6ef893d6f6d72644?lnk=st&q=ontime+group%3Amicrosoft.public.*+author%3AHelmut+author%3Aweber&rnum=20&hl=de#6ef893d6f6d72644

The check for instr "\" could be replaced
by a check for activedocument.path.

Always learning.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"