G
Gadgetprog
I'm working on a school project and the slide show works fine in version 2003
which is what is was developed in. However when running in version 2007 some
of the .shapes().visible =True code doesnt work when the slideshow is running.
If I execute the macro manually in version 2007 while in "normal view" the
screen updates properly. Very strange.... Any ideas? Below are a few code
examples from the program which you can see is nothing fancy. I can supply
you with the file if requested. I really need this to work with 2007...
The first code below just hides all the answers to get started. It basically
initializes the slide when the slide show is launched.
'Hides answers and points on Q1 Slide (Question #1 slide #3)
ActivePresentation.Slides(3).Shapes("X1-1").Visible = False
ActivePresentation.Slides(3).Shapes("X1-2").Visible = False
ActivePresentation.Slides(3).Shapes("X1-3").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-1").Visible = False
ActivePresentation.Slides(3).Shapes("P1-1").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-2").Visible = False
ActivePresentation.Slides(3).Shapes("P1-2").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-3").Visible = False
ActivePresentation.Slides(3).Shapes("P1-3").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-4").Visible = False
ActivePresentation.Slides(3).Shapes("P1-4").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-5").Visible = False
ActivePresentation.Slides(3).Shapes("P1-5").Visible = False
ActivePresentation.Slides(3).Shapes("H1-1").Visible = False
On slide 3 I have a button tha has a hyperlink tha calls "Correct_1" macro
which has the following code.
Sub Correct1_1()
ActivePresentation.Slides(3).Shapes("Q1-1").Visible = True
ActivePresentation.Slides(3).Shapes("P1-1").Visible = True
End Sub
The problem is shape "P1-1" shows up fine but shape "Q1-1" does not.... only
when the presentation is running. Seems all the point values will show up but
none of the answers.
All works fine in 2003 and in normal mode of 2007. I've tried everything I
know. Been working on it for days and now I only have two days left before it
is due.
Any help will be greatly appreciated. Thank you in advance!
which is what is was developed in. However when running in version 2007 some
of the .shapes().visible =True code doesnt work when the slideshow is running.
If I execute the macro manually in version 2007 while in "normal view" the
screen updates properly. Very strange.... Any ideas? Below are a few code
examples from the program which you can see is nothing fancy. I can supply
you with the file if requested. I really need this to work with 2007...
The first code below just hides all the answers to get started. It basically
initializes the slide when the slide show is launched.
'Hides answers and points on Q1 Slide (Question #1 slide #3)
ActivePresentation.Slides(3).Shapes("X1-1").Visible = False
ActivePresentation.Slides(3).Shapes("X1-2").Visible = False
ActivePresentation.Slides(3).Shapes("X1-3").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-1").Visible = False
ActivePresentation.Slides(3).Shapes("P1-1").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-2").Visible = False
ActivePresentation.Slides(3).Shapes("P1-2").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-3").Visible = False
ActivePresentation.Slides(3).Shapes("P1-3").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-4").Visible = False
ActivePresentation.Slides(3).Shapes("P1-4").Visible = False
ActivePresentation.Slides(3).Shapes("Q1-5").Visible = False
ActivePresentation.Slides(3).Shapes("P1-5").Visible = False
ActivePresentation.Slides(3).Shapes("H1-1").Visible = False
On slide 3 I have a button tha has a hyperlink tha calls "Correct_1" macro
which has the following code.
Sub Correct1_1()
ActivePresentation.Slides(3).Shapes("Q1-1").Visible = True
ActivePresentation.Slides(3).Shapes("P1-1").Visible = True
End Sub
The problem is shape "P1-1" shows up fine but shape "Q1-1" does not.... only
when the presentation is running. Seems all the point values will show up but
none of the answers.
All works fine in 2003 and in normal mode of 2007. I've tried everything I
know. Been working on it for days and now I only have two days left before it
is due.
Any help will be greatly appreciated. Thank you in advance!