Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / May 2005

Tip: Looking for answers? Try searching our database.

How do I  print a cell's contents as a footer?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TC - 25 May 2005 17:10 GMT
I would like to be able to specify a cell as a footer and thereby have that
cell's contents printed as a footer in Excel 2003.
Bob Phillips - 25 May 2005 23:37 GMT
Private Sub Workbook_BeforePrint(Cancel As Boolean)
   With ActiveSheet
       If .Name = "Sheet1" Then
           .PageSetup.LeftFooter -.Range("A1").Text
       End If
   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

Signature

HTH

RP
(remove nothere from the email address if mailing direct)

> I would like to be able to specify a cell as a footer and thereby have that
> cell's contents printed as a footer in Excel 2003.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.