Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Handling WorkbookBeforeClose and WorkbookBeforeSave

Not really.

Application.Workbooks.count

gives you the count of open workbooks.

--

Regards,
Tom Ogilvy


Todd Webb wrote in message
...
We need to monitor Excel's state relative to open
workbooks. We were advised to use events to track changes
in Excel's state. Our problem is that Excel's events are
ambiguous relative to the actual state change. Are there
any standard approaches to disambiguate scenarios such as:

the difference between save and save as
the difference between closing a workbook and canceling
the close
the difference between exiting Excel and closing the
final open workbook



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
WorkbookBeforeSave Problem Steve Excel Discussion (Misc queries) 2 November 1st 09 10:01 AM
Error Handling Kevin Excel Discussion (Misc queries) 4 June 19th 08 12:31 AM
Handling #NUM! error Michel Khennafi Excel Worksheet Functions 1 February 26th 07 08:49 PM
Error Handling Rob Bovey Excel Programming 0 August 7th 03 12:11 AM
Error Handling Bill Lunney Excel Programming 0 August 6th 03 11:56 PM


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