![]() ![]() The following example creates a Font object, sets some formatting properties, and then applies the Font object to the first paragraph in the active document. You can use the New keyword to create a new, stand-alone Font object. With ActiveDocument.Styles(wdStyleHeading2).Font The following example changes the formatting of the Heading 2 style in the active document to Arial and bold. Set myRange = ActiveDocument.Paragraphs(1).Range The following example formats the first paragraph in the active document as 24point Arial and italic. The following instruction applies bold formatting to the selection. Use the Font property to return the Font object. Contains font attributes (such as font name, font size and color) for an object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |