Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Header & Footer Font

Status
Not open for further replies.

World22

Technical User
Sep 19, 2006
1
CN
I am Trying to make a variable Bold in the Header. But I just can't seem to figure it out can anyone HELP?

Sub Header4()
x = Range("a1").Value

Worksheets("Sheet1").PageSetup.LeftHeader = _
"&""Arial,Bold" & x
End Sub
 
Like this ?
.LeftHeader = "&""Arial,Bold""" & x

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top