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

Steven,

I'm glad I could help.

Doug

"Steven" wrote in message
...
Thank you for all your responses. After review and testing I will say
Doug
has the solution. If you only do this on the before_close event then the
system will ask the user if they want to save again, because in fact there
has been a change, and at that time the file will be only showing the one
sheet that has the message on it, which is something I dont want the user
to
really clue in on anyway. Therefore the before_close will not work. And
you
cannot do the hide alone on the Before_Save because the user may be
staying
in the file to continue working. Therefore you have to do in in the
Before_Save ... Save the file ... Switch it back to the users normal view
...
then Cancel the Save, and all is well. This keeps things working in the
users normal course of operation of the file which means doing what Doug
recommends is the best way I believe.

Thank you very much. This issue has really bothered me for years. Like
about 20 years.



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
macros disabled Curt Excel Programming 0 February 26th 07 04:44 PM
Macros disabled FJB[_2_] Excel Programming 5 July 13th 05 01:05 AM
Disabled Macros MBlake[_2_] Excel Programming 3 May 11th 05 03:35 PM
Disabled Macros Susan Hayes Excel Programming 1 August 5th 04 11:16 PM
macros disabled Dan E[_2_] Excel Programming 0 September 8th 03 04:01 PM


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