PC Review


Reply
Thread Tools Rate Thread

Detect "Save" menu event

 
 
Robert Crandal
Guest
Posts: n/a
 
      30th Dec 2009
How can I handle when the "Save" menu option is
selected by a user?? I basically want to run some
code either before or after a workbook save occurs.

Does this mean that I should handle Workbook_BeforeSave()???
If the "SaveAsUI" parameter is false, does that mean that
a "save" occurred instead of a "save as"??

thank you


 
Reply With Quote
 
 
 
 
Harald Staff
Guest
Posts: n/a
 
      30th Dec 2009
Hi

Yes, that is the event you want. And your assumption is correct.

Note that if the file is previously unsaved, Save will also display the
SaveAs dialog.

HTH. Best wishes Harald


"Robert Crandal" <(E-Mail Removed)> wrote in message
news:vMO_m.5801$(E-Mail Removed)...
> How can I handle when the "Save" menu option is
> selected by a user?? I basically want to run some
> code either before or after a workbook save occurs.
>
> Does this mean that I should handle Workbook_BeforeSave()???
> If the "SaveAsUI" parameter is false, does that mean that
> a "save" occurred instead of a "save as"??
>
> thank you
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word shows "save" and "save" in drop down menu- no "save as" =?Utf-8?B?SmVubmlmZXJL?= Microsoft Word Document Management 4 26th May 2006 06:21 PM
the "save" and "delete" disappeared from the menu table... =?Utf-8?B?dGhyZWV6ZXRh?= Windows XP Help 0 24th Jun 2005 08:12 PM
save and restore "Workbook Menu Bar" & "Cell" menus =?Utf-8?B?SmVmZiBIaWdnaW5z?= Microsoft Excel Programming 2 14th Feb 2005 01:33 AM
File Menu options greyd out - "New", "Open", "Save As" =?Utf-8?B?QnJ1Y2U=?= Microsoft Word Document Management 1 13th Oct 2004 03:58 PM
Remove "My Recent Documents"-Folder in open/save dialog - NOT in places bar, but in "look in"-dropdown menu ask Windows XP Customization 0 19th Jan 2004 10:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:39 AM.