LeftHeader Property
Applies To
PageSetup object.
Description
Returns or sets the left-aligned part of the header in sections that support headers or footers (or both) and that are included in the binder at the time the header is set. Read/write String.
Remarks
You can use special format codes in the header text.
See Also
CenterHeader property, HasBinderHeaderFooter property, RightHeader property, SupportsBinderHeaderFooter property.
Example
This example prints the date and the time, in bold type, in the upper-left corner of each page in every section of Binder1.obd that supports headers or footers (or both).
Set myBinder = GetObject("C:\Binder1.obd", "OfficeBinder.Binder")
With myBinder
For Each s In .Sections
If s.SupportsBinderHeaderFooter Then
.PageSetup.LeftHeader = "&B &D &T &B"
s.HasBinderHeaderFooter = True
End If
Next
.Close SaveChanges:=True
End With