Hi Guys I have this code to insert data into the footer of an Excel Worksheet.
With Worksheets("Dashboard").PageSetup
.CenterFooter = "&""Tahoma,Regular""&8""© Company Name " & Year(Now())
.CenterFooter = "&""Tahoma,Regular""&8""Page &P of &N"
End With
However it does not insert both lines. it only inserts the last line "Page &P pf &N".
Is there a way I can get both lines inserted into the footer.
Any advice will be appreciated.
Hayton McGregor
With Worksheets("Dashboard").PageSetup
.CenterFooter = "&""Tahoma,Regular""&8""© Company Name " & Year(Now())
.CenterFooter = "&""Tahoma,Regular""&8""Page &P of &N"
End With
However it does not insert both lines. it only inserts the last line "Page &P pf &N".
Is there a way I can get both lines inserted into the footer.
Any advice will be appreciated.
Hayton McGregor