ThrottleWorks
Excel Ninja
Hi,
I am editing a code. This code has 'Application.EnableEvents = False' line before opening any workbook. This line is set to True once the workbook is opened.
My doubt is, can I use this line at the start of the module itself ?
And I will set it to True at the end of module.
Like, I set screen updating and display alerts to False at the start of the module and revert at end.
Will doing same thing for Application.EnableEvents have any adverse impact, or will it create any bug in my code ?
Can anyone please help me in this.
I am editing a code. This code has 'Application.EnableEvents = False' line before opening any workbook. This line is set to True once the workbook is opened.
My doubt is, can I use this line at the start of the module itself ?
And I will set it to True at the end of module.
Like, I set screen updating and display alerts to False at the start of the module and revert at end.
Will doing same thing for Application.EnableEvents have any adverse impact, or will it create any bug in my code ?
Can anyone please help me in this.