Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default point to a cell from the Custom footer

Is it possible to point on the Custom footer to a cell on the sheet?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default point to a cell from the Custom footer

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterFooter = .Range("A1").Value
End With
End Sub


Gord Dibben MS Excel MVP

On 29 Mar 2007 09:54:39 -0700, wrote:

Is it possible to point on the Custom footer to a cell on the sheet?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default point to a cell from the Custom footer

Thank you
I'm doing it manually (Not a Macro)
Can I point on all sheets to Sheet1 cell A1?
What do I type in the footer?
= .Range("A1").Value doesn't work
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default point to a cell from the Custom footer

You cannot set a footer to a cell value without using VBA.

If you want also to do it on multiple selected sheets you must use another
macro.

Sub Cell_In_SelectlFooters()
Dim ws As Worksheet
For Each ws In ActiveWindow.SelectedSheets
ws.PageSetup.CenterFooter = ws.Range("A1").Value
Next
End Sub

Or all worksheets............

Sub Cell_In_AllFooters()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Sheets
ws.PageSetup.CenterFooter = ws.Range("A1").Value
Next
End Sub


Gord

On 29 Mar 2007 11:09:28 -0700, wrote:

Thank you
I'm doing it manually (Not a Macro)
Can I point on all sheets to Sheet1 cell A1?
What do I type in the footer?
= .Range("A1").Value doesn't work
Thanks


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default point to a cell from the Custom footer

Ok, I see what you are saying. It actually takes the value and past it
to the footer. It does not update it when the cell is updated. Is this
correct?

I would like the footer to show an As of date that I have in a cell.
The As of date is not the same as Today, so I can not use Now()

Any solution on how to refresh the information of the cell?
Thanks

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
Can an Excel cell value be used in a Custom Footer? Footers and Cell references Excel Worksheet Functions 7 April 11th 07 06:00 PM
Custom Footer Andrew Mackenzie Excel Discussion (Misc queries) 3 November 10th 06 12:20 PM
VBAcustom footercell ref + font size Adam Molinaro Excel Programming 4 October 6th 05 03:56 PM
excel - insert cell contents in a custom header / footer b Excel Discussion (Misc queries) 0 August 25th 05 06:51 PM
Enter an Excel cell reference as part of a custom header/footer Suegi123 Excel Worksheet Functions 1 April 1st 05 10:55 PM


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