![]() |
Stopping the use of enableevents
Hi,
I want to stop a user being able to turn off enableevents. i.e. application.enableevents = false is it possible? Cheers, Steven |
Stopping the use of enableevents
"Steven Revell" wrote...
I want to stop a user being able to turn off enableevents. i.e. application.enableevents = false is it possible? No. |
Stopping the use of enableevents
It may be of some use to you to know that ActiveX controls (from the
Controls toolbox) are unaffected by Application.EnableEvents i.e. their events still fire when False. To exploit this, for example, you could have an invisible Image object large enough to cover the user's part of the screen and set Application.EnableEvents=True in its MouseMove event (hint: additionally make the control invisible in its MouseDown event). "Harlan*Grove" wrote in message ... "Steven Revell" wrote... I want to stop a user being able to turn off enableevents. i.e. application.enableevents = false is it possible? No. |
Stopping the use of enableevents
"onedaywhen" wrote...
It may be of some use to you to know that ActiveX controls (from the Controls toolbox) are unaffected by Application.EnableEvents i.e. their events still fire when False. To exploit this, for example, you could have an invisible Image object large enough to cover the user's part of the screen and set Application.EnableEvents=True in its MouseMove event (hint: additionally make the control invisible in its MouseDown event). .... Meaning there's no way to prevent this being used to propagate macro viruses? Well, it's not like I expected any security from Microsoft products .. . . |
All times are GMT +1. The time now is 02:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com