cell content in footer? help

  • Thread starter Thread starter Gerry
  • Start date Start date
G

Gerry

I need to add the contents of a cell (persons name) in the
footer of only a single worksheet (so that when i print
another sheet from the sameworkbook normal rules apply!!)
when printing? Any ideas how?
 
Put this code in the Thisworkbook code module

Private Sub Workbook_BeforePrint(Cancel As Boolean)
If ActiveSheet.Name = "Sheet1" Then
ActiveSheet.PageSetup.LeftFooter = Range("A1")
End If
End Sub


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Back
Top