Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cell value in footer

How can i put the value (text) of a cell in the left footer ?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Cell value in footer

You need to use a VBA macro to do that. Assuming the cell value changes, it
would be a BeforePrint event macro.

On Wed, 27 Oct 2004 21:59:00 +0200, "Luc Ferrari \(Thuis\)"
wrote:

How can i put the value (text) of a cell in the left footer ?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Cell value in footer

Example : this example use cell A1 of "Sheet1" on each sheet you print

Right click on the Excel icon next to File in the Worksheet menu bar
Choose view code
Paste this event there
Alt-q to go back to Excel

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In ThisWorkbook.Worksheets
wkSht.PageSetup.LeftFooter = ThisWorkbook.Sheets("Sheet1").Range("A1").Text
Next wkSht
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Myrna Larson" wrote in message ...
You need to use a VBA macro to do that. Assuming the cell value changes, it
would be a BeforePrint event macro.

On Wed, 27 Oct 2004 21:59:00 +0200, "Luc Ferrari \(Thuis\)"
wrote:

How can i put the value (text) of a cell in the left footer ?




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 value in header or footer Ms_M_o_n_i_c_a Excel Discussion (Misc queries) 3 August 4th 08 11:46 PM
Reference a footer in a cell Elizabeth Excel Worksheet Functions 1 January 30th 07 05:31 PM
Take a Cell and add it to the Footer or Tab Frank Costa Excel Worksheet Functions 6 October 27th 06 03:43 PM
Contents of cell in footer dbhenkel Excel Discussion (Misc queries) 6 March 15th 05 03:15 PM
Landscape Orientation when Footer set using mso-footer-data Disappear Vish[_2_] Excel Programming 0 November 14th 03 09:28 PM


All times are GMT +1. The time now is 05:31 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"