Cancel the macro

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
 
B

Bill Dilworth

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
..
 
G

Guest

Thank you for answer.

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

Karol
 
B

Bill Dilworth

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
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top