Getting Master shapes to appear in slideshow view


J

JimS

I am using VBA to turn on and off shapes that are in the Master. When I step
through a VBA macro to turn on and off selected shapes in slideshow view,
some shapes do not appear in slideshow view; yet they do appear in normal
view, so I know the macro is working. Here is a code snippet:

Dim CurSld As Integer
CurSld = SlideShowWindows(1).View.Slide.SlideID
Set myShapes = ActivePresentation.Slides(1).Master.Shapes
Select Case CurSld
Case 259
If myShapes.Item("NAV_SEL").Visible = msoTrue Then
With myShapes
.Item("Nav_SA1").Visible = msoFalse
.Item("Nav_SA2").Visible = msoTrue
.Item("NAV_SEL").Visible = msoFalse
.Item("NAV_ASSC").Visible = msoTrue
End With
End If
....

Thanks!
 
Ad

Advertisements

J

JimS

Steve:
Thanks, I see that you're trying to refresh the screen, but it still doesn't
work when I am stepping through the code. When I run it "real-time" it seems
to refresh correctly. I would think your solution would work either way, but
it doesn't
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top