Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
wngg001
 
Posts: n/a
Default How can I insert a cell reference in a footer (eg for variable foo

Any ideas on how to do this?
I'm trying to create a template with the doc reference number in the footer
However, I'm trying to avoid users having to edit the footer (because this
just wont get done).
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet
.PageSetup.LeftFooter = .Range("A1").Text
End With
End Sub

This code should go in the ThisWorkbook code module.

--

HTH

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


"wngg001" wrote in message
...
Any ideas on how to do this?
I'm trying to create a template with the doc reference number in the

footer
However, I'm trying to avoid users having to edit the footer (because this
just wont get done).



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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
How can I insert a cell reference in a footer (eg for variable foo GW Excel Discussion (Misc queries) 1 December 15th 04 10:58 AM
HOW DO I REFERENCE A CELL FROM THE RESULTS OF TWO WORKSHEETS TD Excel Discussion (Misc queries) 1 December 14th 04 03:16 PM
Using a formula in a Hyperlink Cell reference sslabbe Excel Discussion (Misc queries) 4 December 10th 04 12:30 AM


All times are GMT +1. The time now is 09:34 AM.

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"