ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   put formulae in foooter (https://www.excelbanter.com/new-users-excel/27047-put-formulae-foooter.html)

M Z J R

put formulae in foooter
 
can i put a page subtotal in a footer...

Chip Pearson

Not directly. You can use the BeforePrint event to add the value
to the footer. E.g., in the ThisWorkbook code module,

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Worksheets("Sheet1").PageSetup.CenterFooter = _
Range("A1").Value
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"M Z J R" <M Z J wrote in message
...
can i put a page subtotal in a footer...





All times are GMT +1. The time now is 05:40 AM.

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