Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / November 2007

Tip: Looking for answers? Try searching our database.

VB code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FB110 - 24 Nov 2007 23:10 GMT
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.
John Wilson - 25 Nov 2007 06:26 GMT
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.
Signature

Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> 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.
Bill Dilworth - 25 Nov 2007 06:44 GMT
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?

Signature

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
.

> As far as I know there's nowhere in the object model this can be done.
> Maybe
[quoted text clipped - 9 lines]
>> moused
>> over, and not when clicked.
John Wilson - 25 Nov 2007 07:04 GMT
If you have time to email me a simple demo of that smart idea I wouldn't mind
seeing it Bill

John
Signature

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.
[quoted text clipped - 20 lines]
> >> moused
> >> over, and not when clicked.
Bill Dilworth - 26 Nov 2007 01:13 GMT
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.

Signature

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
.

> If you have time to email me a simple demo of that smart idea I wouldn't
> mind
[quoted text clipped - 31 lines]
>> >> moused
>> >> over, and not when clicked.
FB110 - 25 Nov 2007 16:13 GMT
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

> As John stated, there are no hooks in the Object Model to allow the start a
> trigger animation from code.
[quoted text clipped - 20 lines]
> >> moused
> >> over, and not when clicked.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.