Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / October 2006

Tip: Looking for answers? Try searching our database.

Cancel the macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KarNek - 20 Oct 2006 08:00 GMT
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
Bill Dilworth - 20 Oct 2006 16:21 GMT
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.

Signature

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
.

> Hello,
>
[quoted text clipped - 5 lines]
>
> Karol Nekanovic
KarNek - 23 Oct 2006 07:06 GMT
Thank you for answer.

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

Karol

> As you may have noted, MS PowerPoint's object model and programming methods
> are very different from Word's.  There is no EnableCancelKey function
[quoted text clipped - 11 lines]
> >
> > Karol Nekanovic
Bill Dilworth - 23 Oct 2006 15:13 GMT
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

Signature

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.
>
[quoted text clipped - 18 lines]
>> >
>> > Karol Nekanovic
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.