PDA

View Full Version : [SOLVED:] Adding Glow to Text



hunter21188
01-22-2016, 02:50 PM
I am having trouble figuring out how to add glow to text within a certain text box. For example, I have a text box named "Header" on my slide and I want to add a black glow around the text. Unfortunately, ".Glow" is not an option. This is how I have the text formatted so far:


With ActiveWindow.Selection.SlideRange.Shapes("Header").TextFrame.TextRange.Font

.Size = 40
.Name = "Aharoni"
.Bold = False
.Italic = False
.Shadow = True


End With


Anyone have any ideas?

Thanks!

C

John Wilson
01-23-2016, 04:12 AM
You are using legacy code from 2003.

You need to use the TextFrame2 object instead of TextFrame to use the new features like Glow.

NOTE Shadow=True will fail if you do because it is also legacy code. You will have to use the new Shadow Properties. .Shadow.Visible=True MIGHT do what you need.

hunter21188
01-23-2016, 01:10 PM
That does EXACTLY what I need. Thanks!!!