D
Derek Wittman
I recorded a macro (and will edit manually) that will change the color of a
text box on my slide. Rather than recording the macro, or editing it, 15
times, is there any way I can create a variable in place of the text box
(object) name?
Sub Macro2()
'
' Macro recorded 2/14/2006 by Derek Wittman
'
ActiveWindow.Selection.SlideRange.Shapes("Text Box 8").Select
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Select
ActiveWindow.Selection.TextRange.Font.Color.SchemeColor = ppForeground
End Sub
Thank you very much for your help!
DW
text box on my slide. Rather than recording the macro, or editing it, 15
times, is there any way I can create a variable in place of the text box
(object) name?
Sub Macro2()
'
' Macro recorded 2/14/2006 by Derek Wittman
'
ActiveWindow.Selection.SlideRange.Shapes("Text Box 8").Select
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Select
ActiveWindow.Selection.TextRange.Font.Color.SchemeColor = ppForeground
End Sub
Thank you very much for your help!
DW