Insert-Enter
Command Description
Insert Enter at the current cursor position in a Word document
Command Prototype
Word.Enter(objWord)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objWord | True | expression | objWord | Word 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)