Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
bmm bmm is offline
external usenet poster
 
Posts: 10
Default EXCEL close event?

Hello ,

I want to know if we have separate events for Workbook close and Excel
close events.
I tried to handle the event Workbook_BeforeClose(), but how can we
differentiate if it was workbook close or excel close event.

Thanks and regds
BMM



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default EXCEL close event?

There is no Excel close event. There is an application level event
equivalent to the Worbook_BeforeClose event, and it would be triggered as
each workbook closes, but I don't believe there would be any way you could
tell that the Excel application was being closed.

Chip Pearson has some reference pages on events and application level events
(2nd reference).

http://www.cpearson.com/excel/events.htm
http://www.cpearson.com/excel/appevent.htm

--
Regards,
Tom Ogilvy

"bmm" <newsgroup.com wrote in message
...
Hello ,

I want to know if we have separate events for Workbook close and Excel
close events.
I tried to handle the event Workbook_BeforeClose(), but how can we
differentiate if it was workbook close or excel close event.

Thanks and regds
BMM





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
Open/Close Event and Excel Saving process Hari[_3_] Excel Programming 2 September 10th 04 03:16 PM
Resetting Excel commandbars on close event alanperu Excel Programming 4 January 6th 04 02:34 PM
Trapping Excel Close Event Bob J.[_2_] Excel Programming 3 December 6th 03 08:57 PM
Trapping Excel Close event Bob J[_2_] Excel Programming 3 December 5th 03 11:56 PM
Excel main window close event Avneesh Saxena Excel Programming 2 November 21st 03 07:42 PM


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