A
Alex H
Hi
Can someone advise me why the following code when run produces the footer in
the order:
Date Page Number Created by
When the order of the code is Created By, Page Number and Date
Thanks
A
NormalTemplate.AutoTextEntries("Created by").Insert Where:=Selection.Range _
, RichText:=True
Selection.HeaderFooter.PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberCenter, FirstPage:=True
Selection.InsertDateTime DateTimeFormat:="dd/MM/yyyy HH:mm",
InsertAsField _
:=True, DateLanguage:=wdEnglishUK, CalendarType:=wdCalendarWestern,
_
InsertAsFullWidth:=False
Selection.TypeText Text:=vbTab & vbTab
Can someone advise me why the following code when run produces the footer in
the order:
Date Page Number Created by
When the order of the code is Created By, Page Number and Date
Thanks
A
NormalTemplate.AutoTextEntries("Created by").Insert Where:=Selection.Range _
, RichText:=True
Selection.HeaderFooter.PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberCenter, FirstPage:=True
Selection.InsertDateTime DateTimeFormat:="dd/MM/yyyy HH:mm",
InsertAsField _
:=True, DateLanguage:=wdEnglishUK, CalendarType:=wdCalendarWestern,
_
InsertAsFullWidth:=False
Selection.TypeText Text:=vbTab & vbTab