Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to use the contents of an Ecel cell in the footer of the
document. Is this possible? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Pete,
Alt+F11 to open VB editor. Double click 'This Workbook' and paste this code in Private Sub Workbook_BeforePrint(Cancel As Boolean) Dim WS As Worksheet For Each WS In Worksheets WS.PageSetup.LeftFooter = Worksheets("Sheet1").Range("A1").Value Next WS End Sub Mike "PETE" wrote: I am trying to use the contents of an Ecel cell in the footer of the document. Is this possible? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup .LeftFooter = ActiveSheet.Range("A1").Value End With End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- __________________________________ HTH Bob "PETE" wrote in message ... I am trying to use the contents of an Ecel cell in the footer of the document. Is this possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I to refer to a (named) cell in Excel header/footer? | Excel Worksheet Functions | |||
How do I copy cell contents to footer in Excel | Excel Discussion (Misc queries) | |||
Can an Excel cell value be used in a Custom Footer? | Excel Worksheet Functions | |||
Excel footer reference to cell in workbook | Excel Discussion (Misc queries) | |||
Excel header/footer cell reference | Excel Discussion (Misc queries) |