Export (0) Print
Expand All
1 out of 6 rated this helpful - Rate this topic

Font Object [Excel 2003 VBA Language Reference]

Office 2003
Multiple objects
Font

Contains the font attributes (font name, font size, color, and so on) for an object.

Using the Font Object

Use the Font property to return the Font object. The following example formats cells A1:C5 as bold.

Worksheets("Sheet1").Range("A1:C5").Font.Bold = True
		

If you don't want to format all the text in a cell or graphic the same way, use the Characters property to return a subset of the text.



Child Objects


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.