Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Macro In PowerPoint 2000

Status
Not open for further replies.

Kevsim

Instructor
Apr 18, 2000
385
AU
I have an image on a slide with another image behind.
When the presentation is running I want to click on a hot spot on the front image and the rear image comes to the front.
The VB code works OK in normal view but does not work when the presentation is running.
I would appreciate some advise.
kevsim
 
Hard to say without seeing what code you are using, but I'm guessing that you recorded a macro, which will use the current selection (which is not available in slide show mode)

Try this:

activepresentation.Slides(x).Shapes(y).ZOrder msoBringToFront

Replace the values x & y with the appropriate slide number and shape index.
 
MarkWalsh,
The code works great.
Thank you.
kevsim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top