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 / July 2005

Tip: Looking for answers? Try searching our database.

FileSaveAs and AutoClose Word Commands

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AChilli - 12 Jul 2005 06:15 GMT
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.
Word Heretic - 12 Jul 2005 14:50 GMT
G'day "AChilli" <benjamintravishogan@hotmail.com>,

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:

>Hi,
>
[quoted text clipped - 5 lines]
>
>Ben.
Cindy M  -WordMVP- - 12 Jul 2005 15:18 GMT
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 :-)
AChilli - 13 Jul 2005 04:23 GMT
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.

> Hi =?Utf-8?B?QUNoaWxsaQ==?=,
>
[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 :-)
Word Heretic - 21 Jul 2005 12:59 GMT
G'day "AChilli" <benjamintravishogan@hotmail.com>,

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:

>Hi Guys,
>
[quoted text clipped - 25 lines]
>> This reply is posted in the Newsgroup; please post any follow question or
>> reply in the newsgroup and not by e-mail :-)
 
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.