Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Detect "Save" menu event

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 449
Default Detect "Save" menu event

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eliminate "Cancel" Button on Save/Close Event Excel Monkey[_2_] Excel Programming 2 April 18th 09 02:31 AM
"Save As" Causing a combobox change event to trigger? AJ Master Excel Programming 1 May 18th 07 12:21 AM
"Save" and "Save As" options greyed out - "Save as Webpage" option Bill Excel Discussion (Misc queries) 0 January 16th 07 04:47 PM
How to detect "F2 key" event ji Excel Programming 4 May 27th 05 08:21 AM
save and restore "Workbook Menu Bar" & "Cell" menus Jeff Higgins Excel Programming 2 February 14th 05 01:33 AM


All times are GMT +1. The time now is 03:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"