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 / July 2007

Tip: Looking for answers? Try searching our database.

Animation interferes with Action Settings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marco - 13 Jul 2007 17:46 GMT
I added Action Settings on a rectangle, to run a macro if I hover the cursor
over it.  The macro makes a chart below the rectangle visible:

Sub ShowChart()
   Application.ActivePresentation.Slides(2).Shapes("Chart1").Visible=msoTrue
End Sub

If I add an entrance effect to another image on the same slide
(Slideshow>Custom animation), the macro stops running.

Can anyone help me figure out what I'm doing wrong?  Thank you.
David M. Marcovitz - 13 Jul 2007 17:57 GMT
I have seen this before. Using the .Visible property in VBA has problems
when animation is introduced on the slide. I think it is a PowerPoint
bug/limitation. The only solution I have found to get it to work
consistently is to not use animation on a slide where I manipulate the
.Visible properties of objects on that slide.

As a side note, the macro actually works. You'll notice that if you hit
Esc after trying to run your macro, the shape will be visible on the
slide. Unfortunately, the "visible" shape won't show up until you quit
out of the slide show (a bit too late).

--David

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

> I added Action Settings on a rectangle, to run a macro if I hover the
> cursor over it.  The macro makes a chart below the rectangle visible:
[quoted text clipped - 8 lines]
>
> Can anyone help me figure out what I'm doing wrong?  Thank you.
Marco - 13 Jul 2007 18:12 GMT
Thank you very much, David.  I was racking my brain trying to figure this out.

> I have seen this before. ...
Marco - 16 Jul 2007 15:44 GMT
It turns out that the animated image was not a single image, but three shapes
with a single entrance effect.

If I group the images, and then apply the entrance effect, the Mouse Over
macro runs correctly during the Slide Show.
 
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.