Remove all text shadows
Problem
Your presentation has shadowed text that you want to remove.
Shadows can be applied to text in two ways:
- By selecting the text and using Format, Font
- By using the normal PPT Shadow settings (via the Shadow button on the drawing toolbar)
Solution
This macro will remove the shadow from any text in your presentation and hide any shadow that's been applied to the shape that contains text using the shadow settings button.
Sub NoTextShadows() Dim oSld As Slide Dim oShp As Shape For Each oSld In ActivePresentation.Slides For Each oShp In oSld.Shapes If oShp.HasTextFrame Then If oShp.TextFrame.HasText Then oShp.TextFrame.TextRange.Font.Shadow = msoFalse oShp.Shadow.Visible = msoFalse End If End If Next oShp Next oSld End Sub
See How do I use VBA code in PowerPoint? to learn how to use this example code.
Search terms:shadow,remove,delete,hide,text