Skip to main content

Insert-Enter

Command Description

Insert Enter at the current cursor position in a Word document

Command Prototype

Word.Enter(objWord)

Parameter Description

ParameterRequiredTypeDefaultDescription
objWordTrueexpressionobjWordWord document object

Demo

/************************************ Insert carriage return ************* **************************** 
Command prototype:
Word.Enter(objWord)
Input parameters:
objWord--Word document object
*********************************************************************************/
Dim objWord
objWord = Word.Open('''C:\Users\Administrator\Desktop\Standardization Implementation Notes.docx''',"xw4131221","",true)
Word.SelectRow(objWord,3,3)
Word.Enter(objWord)