ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   header/footer from page (https://www.excelbanter.com/excel-worksheet-functions/60108-header-footer-page.html)

BorisS

header/footer from page
 
is there a way to have a header/footer reference values that are on a sheet?
I have some novice users, for who I'd like to make a very easy to fill in
area of information, and then have the headers and footer of sheets appear
nicely formatted with their information in there.

Any way?
--
Boris

Paul B

header/footer from page
 
BorisS, here is one way using a before print event,

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.RightFooter = Range("A1")
End Sub

Put in thisworkbook code

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"BorisS" wrote in message
...
is there a way to have a header/footer reference values that are on a

sheet?
I have some novice users, for who I'd like to make a very easy to fill in
area of information, and then have the headers and footer of sheets appear
nicely formatted with their information in there.

Any way?
--
Boris





All times are GMT +1. The time now is 11:37 PM.

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