Address buttons from VBA

  • Thread starter Thread starter Lars Kjærsgaard
  • Start date Start date
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?
 
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
 
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
 
Back
Top