Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerPoint: Launch Macro At Open

Status
Not open for further replies.

markkramer

Technical User
May 19, 2003
3
US
We have a single slide PowerPoint document that users simply enter data into and then print it out. I'd like to have a message pop up that provides the user with information when the document is opened.

If this was Excel, I'd go into the This Workbook module and use this code:

Private Sub Workbook_Activate()
MsgBox ("Remember to fill in all the blanks before printing." )
End Sub

Unfortunatley, I've never worked with VisualBasic in PowerPoint. How and where would I place such a message so that it would pop up each time the document was opened?

Thanks for your help!

Mark

 
Mark:

As I recall, PowerPoint has no open or close event. You may want to consider just putting the message on the first slide with an OK button. Have the ok button run a macro that deletes the first slide.

?

Maybe?

Anne Troy
Word and Excel Macros
Coming soon: wX
 
Thanks, Anne!

That would explain why I can't find any information on running a macro at the time the PowerPoint document is opened!

I think your suggestion to get around the problem is a good one.

Thank you very much!

Mark
 
You bet.
I recall that they're not available, and also that it is the STUPIDEST F*&^%$# think I ever heard. But it probably has something to do with SHOWs....

Anne Troy
Word and Excel Macros
Coming soon: wX
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top