MessageBox onmouseclick

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to show a small message box (javascript/vbscipt does not
matter) when a user clicks on a hyperlink on the PowerPoint slide. If yes can
you let me know how I can achieve that in very less time(little bit urgent).

Thnx,
Kits
 
The code is:

Sub SayHello()
MsgBox "Hello"
End Sub

If you want to also go to another slide (slide 5, for example) after the
message pops up, try:

Sub SayHelloAndGo()
MsgBox "Hello"
ActivePresentation.SlideShowWindow.View.GotoSlide 5
End Sub

You can see some examples at my site:

http://www.loyola.edu/education/PowerfulPowerPoint/

Click on Examples by Chapter. For things this basic, you'll probably
want to look at some of the examples in the earlier chapters.

--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
hi david,

thanks for the reply. I am converting my PPT into a flash document. And my
VBA code does not fire when converted. Is there a solution for this.
thnx
 
Sorry, I don't work with Flash so I don't have a solution. Some of the
alternatives that others suggested (such as using triggers to animate a
text box) might work, but I don't know.
--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Thanks Glenna, appreciate your reply.

Is it possible to trigger animations with MouseOver event rather than
MouseClick.
Thnx,
 
Back
Top