Selection.InsertBefore (Word)

Inserts the specified text before the specified selection.

After using this method to insert text, the selection is expanded to include the new text. If the selection is a bookmark, the bookmark is also expanded to include the next text. You can insert characters such as quotation marks, tab characters, and nonbreaking hyphens by using the Visual Basic Chr function with the InsertBefore method. You can also use the following Visual Basic constants: vbCr, vbLf, vbCrLf and vbTab.

InsertBefore (Text)

Text: The text to be inserted.


With Selection 
 .InsertBefore Chr(34) & "Hamlet" & Chr(34) & Chr(32) 
 .Collapse Direction:=wdCollapseEnd 
End With