Help! Shadow text problem

  • Thread starter Thread starter dudley_CH
  • Start date Start date
D

dudley_CH

I have a number of presentations that I must convert to Flash using
PresentationPro's PowerConverter. The problem is that they don't
support shadows on text so I need some code that will go through a
presentation and strip the shadows off any text that needs it. Does
anyone know of something like that?
 
I have a number of presentations that I must convert to Flash using
PresentationPro's PowerConverter. The problem is that they don't
support shadows on text so I need some code that will go through a
presentation and strip the shadows off any text that needs it. Does
anyone know of something like that?

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
 
Steve Rindsberg said:
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



-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


Thank you Sir!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top