ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable Workbook_Activate inside another macro... (https://www.excelbanter.com/excel-programming/424466-disable-workbook_activate-inside-another-macro.html)

SpeeD

Disable Workbook_Activate inside another macro...
 
Hi i need to disable Workbook_Activate when one of y macros run but i can´t
find any way to do it. Can i rename Workbook_Activate to another name? can i
stop it??

Thank´s a lot!!!!

speeD

Bob Umlas[_3_]

Disable Workbook_Activate inside another macro...
 
Application.EnableEvents = False

turn it back to true when macro is done.


"SpeeD" wrote in message
...
Hi i need to disable Workbook_Activate when one of y macros run but i
can´t
find any way to do it. Can i rename Workbook_Activate to another name? can
i
stop it??

Thank´s a lot!!!!

speeD




SpeeD

Disable Workbook_Activate inside another macro...
 
Thank´s Bob!

Works great

SpeeD

"Bob Umlas" wrote:

Application.EnableEvents = False

turn it back to true when macro is done.


"SpeeD" wrote in message
...
Hi i need to disable Workbook_Activate when one of y macros run but i
can´t
find any way to do it. Can i rename Workbook_Activate to another name? can
i
stop it??

Thank´s a lot!!!!

speeD






All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com