Address buttons from VBA

L

Lars Kjærsgaard

Hi,

Is it possible to address manually placed objects (buttons) in a
Presentation from VBA?

My need is to grab an event eg. like "on_Mouseover()" or "on_clicked()", is
this possible in VBA/PP?
 
C

Chirag

If they are controls like those from Control Toolbox, then you can handle
their events using "WithEvents" variables. If they are regular PowerPoint
shapes (rectangle, line, etc.), then you would need to point their mouse
click Action Settings to your macro.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
L

Lars Kjærsgaard

Thank you very much.

Do you know how to grab when the "SlideShowWindow" is ended/terminated eg.
by using the "Esc" key.

--
Best regards
Lars


Chirag said:
If they are controls like those from Control Toolbox, then you can handle
their events using "WithEvents" variables. If they are regular PowerPoint
shapes (rectangle, line, etc.), then you would need to point their mouse
click Action Settings to your macro.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top