ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there availability of functions in Headers/Footers? (https://www.excelbanter.com/excel-discussion-misc-queries/177233-there-availability-functions-headers-footers.html)

FARAZ QURESHI

Is there availability of functions in Headers/Footers?
 
Can you calculate number of rows and sum of numbers therein in a column be
represented in a Header/Footer.

All means OR macros are welcome.

yshridhar

Is there availability of functions in Headers/Footers?
 
You may calculate them is cells and make cell contents appear in header/footer
The following is the macro for that
Sub CellInFooter()
With ActiveSheet
..PageSetup.CenterHeader = .Range("A1").Value
End With
End Sub

the Value in A1 will be set to Header-Center
Change the rage according to you worksheet
With regards
Sreedhar




"FARAZ QURESHI" wrote:

Can you calculate number of rows and sum of numbers therein in a column be
represented in a Header/Footer.

All means OR macros are welcome.



All times are GMT +1. The time now is 07:23 PM.

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