LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default HOW TO DISABLE ALL MACROS in BeforeClose event handling procedure

I don't know. Could you post the workbook somewhere on the web (not this
NG)?

--
HTH

Bob Phillips

"Intellihome" wrote in message
...

Hello Bob,

No, I am not using Automation Server, but EnableEvents works as
described in this article. and I do not know what the problem with it.
It just does not work. If that is not a problem then what?

I can have for example a procedure that handles ComboBox1_Change() then
somewhere else in the code I can say:

Application.EnableEvents = False

Sheets("WhatEver").ComboBox1.Value = 1

^^^^^^^^^^^^^^^^^^^^^^^^
after this line event will be intercepted by event handler and handling
procedure will be executed, even though EnableEvents is set to False.

Why do you think this could be?

Ivan


--
Intellihome
------------------------------------------------------------------------
Intellihome's Profile: http://www.msusenet.com/member.php?userid=1479
View this thread: http://www.msusenet.com/t-1870532558



 
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
Remove/disable event macros in SavedAs wkbk? Ed Excel Programming 5 March 22nd 05 01:42 PM
problem with beforeclose event Gordon Excel Programming 1 September 30th 04 11:21 PM
ThisWorkBook BeforeClose Event Doug Glancy Excel Programming 0 July 29th 04 12:36 AM
ThisWorkBook BeforeClose Event David Adamson[_4_] Excel Programming 0 July 29th 04 12:32 AM
BeforeClose event - Savings Mike[_40_] Excel Programming 3 September 24th 03 11:33 AM


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