ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Including Spreadsheet Date in a header (https://www.excelbanter.com/excel-programming/302527-including-spreadsheet-date-header.html)

Steve[_61_]

Including Spreadsheet Date in a header
 
Is there any (preferable easy) way to to automatically
include the contents of a specific cell in the custom
header information?

david mcritchie

Including Spreadsheet Date in a header
 
Hi Steve,

Don't know about preferable, but the following should work

Activesheet.PageSetup.LeftHeader = Range("B2").value

More information on headers and footers in
http://www.mvps.org/dmcritchie/excel/pathname.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Steve" wrote in message ...
Is there any (preferable easy) way to to automatically
include the contents of a specific cell in the custom
header information?





All times are GMT +1. The time now is 10:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com