referencing a cell within a header

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Hi

Try this example

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top