ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programatically set up footer (https://www.excelbanter.com/excel-programming/384567-programatically-set-up-footer.html)

Epoh Rio[_2_]

Programatically set up footer
 
How can I programatically configure page numbers based on a worksheet
that has the correct page number for the corresponding worksheet?

Example: Each worksheet in workbook is one page, but the pages change
fairly often. I want to keep a "master page number" worksheet that can
be updated easier than going into each worksheet and setting the
footer.


Epoh Rio[_2_]

Programatically set up footer
 
Never mind:

This works.

Sub UpdateFooter()
ActiveSheet.PageSetup.Leftfooter = Range("A1").Value
End Sub

http://support.microsoft.com/kb/273028


Jay

Programatically set up footer
 
Thanks for the information Epoh.

--
Jay


"Epoh Rio" wrote:

Never mind:

This works.

Sub UpdateFooter()
ActiveSheet.PageSetup.Leftfooter = Range("A1").Value
End Sub

http://support.microsoft.com/kb/273028




All times are GMT +1. The time now is 02:45 PM.

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