peterwmartin
04-26-2013, 02:59 AM
Hi all,
I have a userform I wish to control shapes on several or all slides, I have no problem when I am only using it with one slide.
This is my code so far however it is not working.
Private Sub CommandButton6_Click()
'Dim mySlides() As Object
Set mySlides = ActivePresentation.Slides.Range(Array("Slide2", "Slide3"))
Select Case TextBox1.Value
Case "Waist Elastic"
ActivePresentation.Slides.Range(mySlides).Shapes("Waist Elastic").Top = ActivePresentation.Slides.Range(mySlides).Shapes("Waist Elastic").Top - 5
End Select
End Sub
Can someone help please?:banghead:
I have a userform I wish to control shapes on several or all slides, I have no problem when I am only using it with one slide.
This is my code so far however it is not working.
Private Sub CommandButton6_Click()
'Dim mySlides() As Object
Set mySlides = ActivePresentation.Slides.Range(Array("Slide2", "Slide3"))
Select Case TextBox1.Value
Case "Waist Elastic"
ActivePresentation.Slides.Range(mySlides).Shapes("Waist Elastic").Top = ActivePresentation.Slides.Range(mySlides).Shapes("Waist Elastic").Top - 5
End Select
End Sub
Can someone help please?:banghead: