I thought I recognized that code. It's from the More Tricks section of
my Web site. I have found that animation and VBA don't always play
nicely together. In many cases, hiding and showing objects will not work
properly when slides have animation. I haven't noticed the problem
before when objects are being moved, rather than hidden or shown, but I
generally avoid animation when manipulating objects with VBA.
What kind of animation are you running? What happens to it? Have you
tried going to the current slide as in:
ActivePresentation.SlideShowWindow.View.GotoSlide ###
replacing ### with the slide number where all this is happening.
Sometimes that fixes the problem. For good measure, since your working
with animations, you might actually use:
ActivePresentation.SlideShowWindow.View.GotoSlide ###, msoTrue
to reset the animation.
--David