Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Window Event

Hi All
I have an application that on opening stores the users ToolBar settings, and
restores them using the workbook before close event. All is OK if the user
exits using the File-Close or the Workbook window X button.
However if they close the Excel Application then the tool bars are not
restored. How can I detect that Excel is closing and so force my toolbar
restore routing to run?

TIA

--
Cheers
Nigel




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Window Event

The Workbook_BeforeClose will be triggered for each open workbook
when the Application is closed.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nigel" wrote in message
...
Hi All
I have an application that on opening stores the users ToolBar
settings, and
restores them using the workbook before close event. All is OK
if the user
exits using the File-Close or the Workbook window X button.
However if they close the Excel Application then the tool bars
are not
restored. How can I detect that Excel is closing and so force
my toolbar
restore routing to run?

TIA

--
Cheers
Nigel






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Window Event

Chip,
I did discover this, my problem was in another area which I have since
fixed.

Many thanks

ps Your site on Excel Events gave me some more insight.
--
Cheers
Nigel



"Chip Pearson" wrote in message
...
The Workbook_BeforeClose will be triggered for each open workbook
when the Application is closed.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nigel" wrote in message
...
Hi All
I have an application that on opening stores the users ToolBar
settings, and
restores them using the workbook before close event. All is OK
if the user
exits using the File-Close or the Workbook window X button.
However if they close the Excel Application then the tool bars
are not
restored. How can I detect that Excel is closing and so force
my toolbar
restore routing to run?

TIA

--
Cheers
Nigel








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
View cell contents as a pop-up window (similar to comments window) Oldersox Excel Worksheet Functions 1 February 6th 08 07:09 AM
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
event in worksheet switches to VB code window asiamood Excel Programming 0 February 20th 04 06:40 PM
Excel main window close event Avneesh Saxena Excel Programming 2 November 21st 03 07:42 PM
"window scroll" event Sam K Excel Programming 2 August 10th 03 08:47 PM


All times are GMT +1. The time now is 10:34 PM.

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"