Catching Save or SaveAs in Word 2007 (Harry Miller)
You can override Ribbon commands and run your own code for Save or Save As, or you can simply cancel attempts to save a document in the DocumentBeforeSave event handler.
Code and resources:
Forum post: Microsoft Word 2007 Disable Save As
Temporarily Repurpose Commands on the Office Fluent Ribbon
DocumentBeforeSave event
Video duration: 51 seconds
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comments
Leave a Comment
About VSTO Team
This login represents the Visual Studio Tools for Office team. Many members of the team us this account for publishing technical blog posts.