Cancel the macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How can I disable canceling of PPT macro.
In MS Word I use Application.EnableCancelKey = wdCancelDisabled
But I haven't found this in PPT.

Thanks in advance.

Karol Nekanovic
 
As you may have noted, MS PowerPoint's object model and programming methods
are very different from Word's. There is no EnableCancelKey function
available in PowerPoint.

What is it you are trying to do? Maybe we could suggest an alternative.

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Thank you for answer.

What I need is don't allow to break my macro (Ctrl+Break) by user.

Karol
 
I am not aware of any way to prevent that from a coding standpoint within
PowerPoint's VBA. However I have never needed that function and have never
gone looking for it, so it might be lurking in a damp mildewed corner of the
object model somewhere.

You could disable most of the keyboard input by using Kiosk mode, but code
breaks still make it through this.

Perhaps one of the ninth level mega-gurus knows differently


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Back
Top