Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
S Barker
 
Posts: n/a
Default 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   Report Post  
Gord Dibben
 
Posts: n/a
Default

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   Report Post  
Sandy Barker
 
Posts: n/a
Default

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   Report Post  
Sandy Barker
 
Posts: n/a
Default

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   Report Post  
Gord Dibben
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I make formula in Excel from other worksheet? Ariel in LA Excel Worksheet Functions 1 March 15th 05 10:57 AM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
How do I replace a worksheet with another worksheet in excel Ammnon Excel Worksheet Functions 1 January 12th 05 10:48 AM
How do I insert an Excel file into a PowerPoint Presentation slid. Barb Excel Discussion (Misc queries) 1 December 11th 04 04:22 PM


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"