L
Leila
I want to insert a logo to the header of a document which
has an inserted number as a footer(by another macro). When
I run the below code the footer gets deleted and the logo
gets inserted to the header. What I want is to keep them
both, any suggestion? Thanks
Sub InsertALogo(
With ActiveDocument.PageSetu
.DifferentFirstPageHeaderFooter = Tru
End Wit
With ActiveDocument.Sections.First.Header
(wdHeaderFooterFirstPage).Rang
.InsertFile FileName:="C:\Logo.doc",
ConfirmConversions:=False,
Range:="",
Link:=False,
Attachment:=Fals
End Wit
End Su
has an inserted number as a footer(by another macro). When
I run the below code the footer gets deleted and the logo
gets inserted to the header. What I want is to keep them
both, any suggestion? Thanks
Sub InsertALogo(
With ActiveDocument.PageSetu
.DifferentFirstPageHeaderFooter = Tru
End Wit
With ActiveDocument.Sections.First.Header
(wdHeaderFooterFirstPage).Rang
.InsertFile FileName:="C:\Logo.doc",
ConfirmConversions:=False,
Range:="",
Link:=False,
Attachment:=Fals
End Wit
End Su