Selection.TypeText Method
Inserts the specified text.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub TypeText ( _
Text As String _
)
'Usage
Dim instance As Selection
Dim Text As String
instance.TypeText(Text)
void TypeText(
string Text
)
Parameters
- Text
Type: System.String
Required String. The text to be inserted.
Remarks
If the ReplaceSelection property is True, the selection is replaced by the specified text. If ReplaceSelection is False, the specified text is inserted before the selection.