Code Snippets


Sections
Paragraphs
Sentences
Words
Characters


When modifying text it is not necessary to select the text before modifying it










These two lines are equivalent




The Range property returns a Range object that represents the portion of a document that is contained in the paragraph


All the properties and methods of the ParagraphFormat object are also properties and methods of the Paragraph object except the Duplicate property.






Manipulates the currently selected paragraph



Get the Index number of the current paragraph

Define a range from the start of the document to the end of the first selected paragraph


Selection.Sections(1) or Selection.Tables(1)








Looping through all



© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext