VB code

  • Thread starter Thread starter FB110
  • Start date Start date
F

FB110

I need a Visual Basic for Applications code that will execute powerpoint
custom animations.
I'm creating a type of trigger that will carry out an animation when moused
over, and not when clicked.
 
As far as I know there's nowhere in the object model this can be done. Maybe
with API calls?

If you have no other animations on the slide it is possible to use vba to
add a with previous animation with a mouseover action which will play
straight away.
--
Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
 
As John stated, there are no hooks in the Object Model to allow the start a
trigger animation from code.

However, it is possible with API calls to exactly place the mouse to a
location and simulate a mouse click. By making the trigger shape just 1 or
2 pixels big, it is unlikely that the user will accidentally come across it.
Use the mouse over action setting to activate a macro to fire the APIs to
start the trigger animation. I don't know why she swallowed the fly ...

This is not a beginner project, how are your VBA/API skills?

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Then I assume that if I make many pixels with the same API calls with an
action button underneath to simulate a click on the action button.

I've worked quite a bit with Visual BASIC in VBA and also in Visual Studio,
but I'm not familiar at all with API; I will have to look into that.o
 
I will see if I can get a working sample together while I'm on the road this
week. I'll shoot it over to you as time permits.

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
Back
Top