'*************************************************************
' Formating Slide Titles on all slides
' This macro formats the position, Font name and Font size of
' titles on all slides of active presentation
'*************************************************************
Sub FormatSlideTitles()
Dim s As Slide
Dim shp As Shape
For Each s In ActivePresentation.Slides
For Each shp In s.Shapes
If shp.Type = msoPlaceholder Then
With shp
.Top = 5
.TextFrame.TextRange.Font.Name = "Times New Roman"
.TextFrame.TextRange.Font.Size = 24
End With
End If
Next shp
Next s
End Sub
Subscribe to:
Post Comments (Atom)
This code modifies the content and not the titles.
ReplyDeleteHelp will be appreciated. we.go@hotmail.com
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteFor Each s In ActivePresentation.Slides
ReplyDeleteIf s.Shapes.HasTitle Then s.Shapes.Title.TextFrame.TextRange.Font.Size = 24
Next s