

MyRange.Collapse Direction:=wdCollapseStartįor more information about using the Range Object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Range Object in the Office Assistant or the Answer Wizard, and then click Search to view the topic.įor more information about using the Selection Object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Selection Object in the Office Assistant or the Answer Wizard, and then click Search to view the topic. This example inserts text placed on the clipboard at the current position of the insertion point. Using the Range or Selection object to paste from the clipboard ' Range Example: Inserts text at the beginning When you add a footnote to a document, Words normal formatting adds a space after. This method is applied, the range or selection expands to include the new The following articles are available for the VBA Examples topic. Inserts the specified text at the beginning of a range or selection.

' (Inserts text at the current position of the insertion point.) Inserts the specified text at the end of a range or selection. Using Range or Selection object with the InsertAfter/InsertBefore method InsertAfter method example:
