Catching Save or SaveAs in Word 2007 (Harry Miller)

Published 03 July 08 02:57 PM

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 RSS

Comments

# a-foton » Catching Save or SaveAs in Word 2007 (Harry Miller) said on July 3, 2008 6:34 PM:

PingBack from http://blog.a-foton.ru/2008/07/catching-save-or-saveas-in-word-2007-harry-miller/

# vahid said on August 26, 2008 4:27 AM:

hi

i have a problem

this soloution set cancle=true doenot work for me

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

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.

This Blog

Syndication

Page view tracker