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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

range.font.bold = true causes error 1004

Status
Not open for further replies.

atmosphere

Programmer
Jul 28, 2003
7
0
0
US
HEy all

Can someone please help

temp = range("somecell")
temp.font.bold = true

this causes run time error '1004'. to be more specific, "Unable to set the bold property of the font class"

Someone please help
 
Hi atmosphere,

To set a reference to a range use ..

Code:
Set
Code:
temp = range("somecell")

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top