Headers

C

cpkait

Is it possible to reference a cell in a header? If cell A1 contains m
name is it possible to have a reference to cell A1 in the custo
header
 
B

Bob Phillips

Only through VBA AFAIK.

--

HTH

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

Gord Dibben

Sub CellInHeader()
With ActiveSheet
.PageSetup.CenterHeader = .Range("A1").text
End With
End Sub

If A1 is really where the name is, maybe just as easy to set row 1 as "Rows to
Repeat at top"?

Gord Dibben Excel MVP
 

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

Top