![]() ![]() Inserting text and applying character and paragraph formatting ![]() ParagraphFormat.Alignment = wdAlignParagraphJustify Start:=ActiveDocument.Paragraphs(1).Range.Start, _Įnd:=ActiveDocument.Paragraphs(3).Range.End) The Range is formatted by applying properties of the Font object and the ParagraphFormat object. The following example defines a Range object that refers to the first three paragraphs in the active document. Use the Font property to access character formatting properties and methods and the ParagraphFormat property to access paragraph formatting properties and methods. The following example uses the Selection property to apply character and paragraph formatting to the selected text. This topic includes Visual Basic examples related to the tasks in the following sections.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |