Using VBA in PP

  • Thread starter Thread starter RobBlue
  • Start date Start date
R

RobBlue

In Word, the document itself is an object and by double clicking the
document in the Project Explorer, I can add a procedure to the
<Document.Open> event.

In PP I would like to do the same, as a user opens a presentation opening
should start the code.

Am I missing something here or does PP simply not have this option???

Thanks!

Robert
 
In Word, the document itself is an object and by double clicking the
document in the Project Explorer, I can add a procedure to the
<Document.Open> event.

In PP I would like to do the same, as a user opens a presentation opening
should start the code.

Am I missing something here or does PP simply not have this option???

The good news is that you're not missing anything. The bad news is that
what you want isn't there to be missed. :-(

You can't run code automatically except via an add-in, but an add-in (in
PPT2000 and up) can respond to events and run code when PPT opens a new
presentation.
 
Hello Robert,

As Steve has already indicated, this requires an add-in. As you can
imagine, the ability to have code within a presentation execute immediately
when the presentation is opened is a potential security (virus) risk, so I
wouldn't hold my breath waiting for PowerPoint to provide this
functionality (even though it's available for Word). But I've been badly
wrong before... so...

If you (or anyone else) feel strongly that this functionality should be
provided or, at least, make it easier for programmers to discover and
understand WHY this functionality is NOT provided, don't forget to send
your feedback to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions).

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
Back
Top