Checks that the title master exists and, if it does, formats the date and time to be visible and to use the dMMMyy format with automatic updating: : Slide Master « PowerPoint « VBA / Excel / Access / Word






Checks that the title master exists and, if it does, formats the date and time to be visible and to use the dMMMyy format with automatic updating:

 
Sub master()
    With ActivePresentation
        If .HasTitleMaster Then
            With .TitleMaster.HeadersFooters.DateAndTime
                .Visible = msoTrue
                .Format = ppDateTimedMMMyy
                .UseFormat = msoTrue
            End With
        End If
    End With
End Sub

 








Related examples in the same category

1.Working with the Slide Master
2.To find out whether a presentation has a title master, check the HasTitleMaster property
3.Working with the Handout Master
4.clears the HeaderFooter objects in the notes master in the first open presentation:
5.Deleting a Master
6.Working with Headers and Footers