UseFormat Property
Applies To
HeaderFooter object.
Description
True if the date and time object contains automatically updated information; False if the date and time is a fixed string. Read/write Long.
Remarks
This property applies only to a HeaderFooter object that represents a date and time (returned by the DateAndTime property). Set the UseFormat property of a date and time HeaderFooter object to True when you want to set or return the date and time format by using the Format property. Set the UseFormat property to False when you want to set or return the text string for the fixed date and time.
Example
This example sets the date and time for the slide master of the active presentation to be updated automatically and then it sets the date and time format to show hours, minutes, and seconds.
Set myPres = Application.ActivePresentation
With myPres.SlideMaster.HeadersFooters.DateAndTime
.UseFormat = True
.Format = ppDateTimeHmmss
End With