Cut
Command Description
Perform a cut operation on the content currently selected in a Word document
Command Prototype
Word.Cut(objWord)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objWord | True | expression | objWord | Word document object |
Demo
/************************************Cut************** ************************
Input parameters:
objWord--Word document object
bQuit--whether to close the Word process
*********************************************************************************/
Dim objWord
objWord = Word.Open('''C:\Users\Administrator\Desktop\Standardization Implementation Notes.docx''',"xw4131221","",true)
Word.SelectRow(objWord,2,2)
Word.Cut(objWord)