How can I insert a value from an Excel Worksheet into a footer?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a workbook with several tabs and would like to have a value in the
footer that is stored in a "control information" tab so don't have to enter
it in the footer for each tab.
 
Did you know that if you select all sheets(right-click on one and "select all
sheets") you can set most print options including headers and footers?

If you wish a macro......

Sub CellInFooter()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.PageSetup.CenterFooter = Sheets("Sheet1").Range("A1").Text
Next ws
End Sub


Gord Dibben Excel MVP

On Tue, 29 Mar 2005 13:09:03 -0800, "S Barker" <S
 
DUH! I totally forgot that I could select all the sheets and set the footer
there. Thanks for the reminder.

Thanks.
 
DUH! I totally forgot that I could select all the sheets and set the footer
there. Thanks for the reminder.

Thanks.
 
Thanks for the feedback Sandy.

Welcome to the world of duh!

You have lotsa company.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top