Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Run Auto Close when Excel Closes

I have in several documents an auto_close macro that runs when you click the
document closed individually or when you choose the command to Close All.
However is there an event or a Sub or module, I can use to run the
auto_close macro when i click on the button to close excel itself. When i do
so, the auto close macro will run, but only for the active workbook, all
other workbooks disregard the auto macro. I have event procedures, for
beforeworkbookclose at the application level enabled but i can not quite seem
to get them functioning correctly for this particular instance.

Ben
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
why do all excel files close when one closes? janet inglis Excel Discussion (Misc queries) 7 February 5th 09 12:38 PM
why do all excel files close when one closes? FSt1 Excel Discussion (Misc queries) 0 February 4th 09 08:08 PM
Excel closes all open apps when i close one ipctech Excel Discussion (Misc queries) 1 May 25th 05 12:04 AM
Auto close excel without saving John Haywood Excel Programming 0 August 23rd 04 09:00 PM
programmatically close help file before Excel closes? RB Smissaert Excel Programming 2 July 21st 03 11:49 AM


All times are GMT +1. The time now is 11:30 PM.

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

About Us

"It's about Microsoft Excel"