Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I copy the contents of a cell into a footer

Headers and footers consist of three parts - left, center, and right. In the
application I am currently working on I want to put a standard revison number
in the left part of the footer which will appear on all worksheets. In the
right section I want to put a page number of the form <section-&[Page]. Can
I put the revison number in a cell on the first worksheet and reference it in
all the footers? If so, how do I do it? Note - the margins are not the same
across all worksheets.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I copy the contents of a cell into a footer

With your revision number in A2 of Sheet1 run this macro.

Sub Cell_In_AllFooters()
Dim WS As Worksheet
For Each WS In ActiveWorkbook.Sheets
WS.PageSetup.LeftFooter = Sheets("Sheet1").Range("A2").Value
Next
End Sub


Gord Dibben MS Excel MVP


On Wed, 14 Mar 2007 11:39:49 -0700, AFD at FONO <AFD at
wrote:

Headers and footers consist of three parts - left, center, and right. In the
application I am currently working on I want to put a standard revison number
in the left part of the footer which will appear on all worksheets. In the
right section I want to put a page number of the form <section-&[Page]. Can
I put the revison number in a cell on the first worksheet and reference it in
all the footers? If so, how do I do it? Note - the margins are not the same
across all worksheets.


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
Cell contents in header/footer mdavison Excel Worksheet Functions 5 October 23rd 06 08:18 PM
Display cell contents in the Header or Footer? yost42 Excel Discussion (Misc queries) 1 December 28th 05 02:59 PM
Insert cell contents into header/footer joeeng Excel Discussion (Misc queries) 7 July 21st 05 11:01 PM
Contents of cell in footer dbhenkel Excel Discussion (Misc queries) 6 March 15th 05 03:15 PM
Contents of cell in footer dbhenkel Excel Discussion (Misc queries) 0 March 10th 05 05:49 PM


All times are GMT +1. The time now is 11:44 PM.

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

About Us

"It's about Microsoft Excel"