Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default 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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default 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
.. . .


Reply
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
Stopping an Entry Ed O'Brien Excel Discussion (Misc queries) 12 October 2nd 09 08:47 AM
Stopping a CountIf Don Kline[_2_] Excel Worksheet Functions 5 May 22nd 09 04:39 PM
Application.EnableEvents DCPan Excel Worksheet Functions 3 October 18th 08 05:46 AM
application.EnableEvents nc Excel Discussion (Misc queries) 1 September 28th 05 04:00 PM
EnableEvents and DisplayAlerts problems Derek Gadd Excel Programming 3 November 4th 03 01:35 PM


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