Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I want to stop a user being able to turn off enableevents. i.e. application.enableevents = false is it possible? Cheers, Steven |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Steven Revell" wrote...
I want to stop a user being able to turn off enableevents. i.e. application.enableevents = false is it possible? No. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"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 .. . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stopping an Entry | Excel Discussion (Misc queries) | |||
Stopping a CountIf | Excel Worksheet Functions | |||
Application.EnableEvents | Excel Worksheet Functions | |||
application.EnableEvents | Excel Discussion (Misc queries) | |||
EnableEvents and DisplayAlerts problems | Excel Programming |