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 / Programming / January 2006

Tip: Looking for answers? Try searching our database.

referencing a cell within a header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peekabeaux - 25 Jan 2006 22:16 GMT
Is there a way to reference a cell's value in a header? I have a time card
that within the header is a pay ending from and to date that I must manually
fill out (argh!). Since the information is already in the spreadsheet every
week,[ always B5 and F5 ] I would like to be able to reference those cells
within my header.
Thanks for any answers.
Peekabeaux
Ron de Bruin - 25 Jan 2006 22:24 GMT
Hi

Try this example

   With ActiveSheet.PageSetup
       .RightHeader = "text " & Range("B5").Value & " again text " & Range("F5").Value
   End With

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> Is there a way to reference a cell's value in a header? I have a time card
> that within the header is a pay ending from and to date that I must manually
[quoted text clipped - 3 lines]
> Thanks for any answers.
> Peekabeaux
 
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.