Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How can I insert a value from an Excel Worksheet into a footer?
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. |
#2
|
|||
|
|||
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 wrote: 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. |
#3
|
|||
|
|||
DUH! I totally forgot that I could select all the sheets and set the footer
there. Thanks for the reminder. Thanks. "Gord Dibben" wrote: 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 wrote: 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. |
#4
|
|||
|
|||
DUH! I totally forgot that I could select all the sheets and set the footer
there. Thanks for the reminder. Thanks. "Gord Dibben" wrote: 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 wrote: 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. |
#5
|
|||
|
|||
Thanks for the feedback Sandy.
Welcome to the world of duh! You have lotsa company. Gord On Tue, 29 Mar 2005 14:51:03 -0800, Sandy Barker wrote: DUH! I totally forgot that I could select all the sheets and set the footer there. Thanks for the reminder. Thanks. "Gord Dibben" wrote: 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 wrote: 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
How do I make formula in Excel from other worksheet? | Excel Worksheet Functions | |||
Weekly Transaction Processing | Excel Worksheet Functions | |||
How do I replace a worksheet with another worksheet in excel | Excel Worksheet Functions | |||
How do I insert an Excel file into a PowerPoint Presentation slid. | Excel Discussion (Misc queries) |