No.
> Hi,
> I have a problem wich i hope somebody can help me with. In my Word 2003
[quoted text clipped - 18 lines]
>
> Thanks in advance
Hi =?Utf-8?B?dGFydGFuY2xp?=,
> I have a problem wich i hope somebody can help me with. In my Word 2003 COM
> Addin, I want to determine if any open documents have associated code.
One thought does occur to me. If you save the file to XML format, close the
XML then access the file directly you can check for the w:macrosPresent
attribute (either using String functions such as InString or XML). If it's set
to "yes", then there are macros.
(Note: this apparently doesn't work from within Word. If the file is open in
Word the attribute is always "no".)
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 :-)
tartancli - 07 Sep 2006 12:13 GMT
Great suggestion Cindy, i'll check that out. Thanks once again.
> Hi =?Utf-8?B?dGFydGFuY2xp?=,
>
[quoted text clipped - 16 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)