Skip to main content

Copy

Command Description

Perform a Copy operation on the content currently selected in a Word document

Command Prototype

Word.Copy(objWord)

Parameter Description

ParameterRequiredTypeDefaultDescription
objWordTrueexpressionobjWordWord document object

Demo

/*********************************copy*************** ************************ 
Input parameters:
objWord--Word document object
*********************************************************************************/
Dim objWord
objWord = Word.Open('''C:\Users\Administrator\Desktop\Standardization Implementation Notes.docx''',"xw4131221","",true)
Word.SelectRow(objWord,2,2)
Word.Copy(objWord)