Created
April 17, 2013 08:59
-
-
Save cyfdecyf/5402854 to your computer and use it in GitHub Desktop.
Change font for all slides in powerpoint.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub textspace() | |
Dim slide As slide | |
Dim shape As shape | |
Dim text As TextRange2 | |
For Each slide In ActivePresentation.Slides | |
For Each shape In slide.Shapes | |
If shape.HasTextFrame Then | |
Set text = shape.TextFrame2.TextRange | |
If Not IsNull(text) Then | |
With text.Font | |
.Name = "Tahoma" | |
.Spacing = 0 | |
End With | |
End If | |
End If | |
Next | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment