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 / May 2006

Tip: Looking for answers? Try searching our database.

Catch the save event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
neoret@gmail.com - 29 May 2006 13:30 GMT
Hello

When the user presses the save button I want my Add-inn to catch that
event.

I think I need to use the Microsoft.Office.Tools.Word.SaveEventHandler
but cant get the namespace right. I only hav Microsoft.Office.Interop
and Microsoft.Office.Core - not Microsoft.Office.Tools......

I installed the VSTO but are not sure how this works.

Does any of you have any experience with this?

neoret
Doug Robbins - Word MVP - 29 May 2006 18:08 GMT
If you create a macro with the same name as one of the Word commands, that
macro will run in place of the command.

Therefore, you need macros with the names

FileSave()

and

FileSaveAs()

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello
>
[quoted text clipped - 10 lines]
>
> neoret
 
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.