Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One can insert variables like &File or &Date in a header/footer description.
I tried to pick up a reference to a cell in the header/footer and did not succeed. Is there a trick to do this ? Regards, Erik |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can build the footer string using VBA in the beforeprint event. In that
case, you would do Activesheet.PageSetup.LeftFooter = _ "formatting string " & ActiveSheet.Range("B9").Text & " more formatting string" -- Regards, Tom Ogilvy "Erik Creyghton" wrote in message ... One can insert variables like &File or &Date in a header/footer description. I tried to pick up a reference to a cell in the header/footer and did not succeed. Is there a trick to do this ? Regards, Erik |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
can be done only with VBA. e.g. with activesheet .pagesetup.centerfoort=.range("A1").value end with -- Regards Frank Kabel Frankfurt, Germany Erik Creyghton wrote: One can insert variables like &File or &Date in a header/footer description. I tried to pick up a reference to a cell in the header/footer and did not succeed. Is there a trick to do this ? Regards, Erik |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the answers. This will work fine.
Erik |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Erik
You will have to do this using VBA. Sub CellInFooter() With ActiveSheet .PageSetup.CenterFooter = .Range("A1").text End With End Sub Gord Dibben Excel MVP On Tue, 27 Jul 2004 21:08:00 +0200, "Erik Creyghton" wrote: One can insert variables like &File or &Date in a header/footer description. I tried to pick up a reference to a cell in the header/footer and did not succeed. Is there a trick to do this ? Regards, Erik |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Table Data Adding contents of two pivot tables and param que | Excel Discussion (Misc queries) | |||
open a spreadsheet with param | Excel Discussion (Misc queries) | |||
PrintToFile param - what's the file format? | Excel Programming | |||
CorruptLoad param of Workbooks.Open | Excel Programming | |||
Landscape Orientation when Footer set using mso-footer-data Disappear | Excel Programming |