FileSaveAs and AutoClose Word Commands

A

AChilli

Hi,

I use the attached template to catch the Word Commands "FileSaveAs" and
"AutoClose" but these events are not firing and some other code is catching
them before me. I have removed all the other addins and removed normal.dot
and there are no COM Addins installed yet the problem still persists. Is
there anyway to catch these events before a different application?

Ben.
 
W

Word Heretic

G'day "AChilli" <[email protected]>,

Use cut n paste to pass on the relevant bits of code rather than
attach. An event is caught by all handlers. So maybe something is
happening during your event processing that shouldnt be.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


AChilli reckoned:
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?QUNoaWxsaQ==?=,
I use the attached template to catch the Word Commands "FileSaveAs" and
"AutoClose" but these events are not firing and some other code is catching
them before me. I have removed all the other addins and removed normal.dot
and there are no COM Addins installed yet the problem still persists. Is
there anyway to catch these events before a different application?
No template was attached; the web interface doesn't allow attachments for
these groups. You can copy/paste the code into a reply.

Which version of Word is involved, here?

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

AChilli

Hi Guys,

Sorry about the confusion. I meant that I use the template within word which
is attached to the document to catch the events "FileSaveAs" and "AutoClose".
The version of Word is 2000 and 2003. Any ideas on what i can do to ensure
these Auto Macros always fire and that they are the first?

Thanks in Advance.
 
W

Word Heretic

G'day "AChilli" <[email protected]>,

if you are running PDFMaker try turning that off.

Have you thoroughly tested this? Eg:

1) Does your project compile? (Tools > ...)

2) If you comment out your autoclose code and put in

MsgBox "It Worked"

instead, it still failed to show up?


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


AChilli reckoned:
 

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