Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Message box before save

Is there a way to program a message box to appear if someone tries to save a
file when a certian cells value is zero?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Message box before save

Use the beforeSave event. In the event check for the condition that would
warrant showing the message box. In the event, to cancel the save, set

Cancel = True

See Chip Pearson's page on events
http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Chance224" wrote in message
...
Is there a way to program a message box to appear if someone tries to save

a
file when a certian cells value is zero?



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
Prompt to Save Message Adam O Excel Discussion (Misc queries) 2 December 10th 08 08:22 PM
Macro to Save without the Save Message Ellen G Excel Discussion (Misc queries) 4 February 23rd 07 08:52 PM
save as error message gavmer[_28_] Excel Programming 2 June 1st 04 09:40 AM
Eliminating save message Paul Excel Programming 3 April 9th 04 12:00 AM
How to save file without the save message? Together[_3_] Excel Programming 5 March 1st 04 04:41 PM


All times are GMT +1. The time now is 04:35 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"