|
|
Subject:
Programming in powerpoint
Category: Computers > Programming Asked by: danwanban-ga List Price: $21.00 |
Posted:
22 Jul 2004 06:50 PDT
Expires: 22 Jul 2004 15:13 PDT Question ID: 377555 |
I need to change the behavior of MS PowerPoint (2000, 2002 and above) in the following way: 1. Whenever a new presentation is created, some VB code (which I will provide) is executed. 2. Whenever a presentation is saved, some VB code (which I will provide) is executed. 3. Whenever a presentation is opened, some VB code (which I will provide) is executed. Note Also: 1. The code MUST BE application specific and NOT presentation specific. That is, even if powerpoint is opened with no presentation, and a new presantation is created, the code must run. 2. The code (which I will provide) need to refer to the new/opened/saved presentation. That is, if the code is run after a new presentation is created, it must refer (in the powerpoint object model) to the new presantation objects. I need a sample code + some explnation in clear English. Instead of my code put a MsgBox saying "Hello" or something like that. Thanks, Danny |
|
There is no answer at this time. |
|
Subject:
Re: Programming in powerpoint
From: bigalofechopark-ga on 22 Jul 2004 11:22 PDT |
danwanban, it may not be possible like it is with Excel. With Excel, one can designate a startup file within which can exist "this workbook" that contains code that is executed when opened (i.e., when Excel is launched). This is what would be necessary in order to satisfy your "on create" requirement. Additionally, there are VB commands that can be used whenever a file open or save action is performed. Insofar as being automatic is concerned, PowerPoint may not work this way. One alternative is to create a set of macros (in a convenient location) that can be easily imported for new or existing documents. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |