I want to open 2 excel-files, and want to copy a complete worksheet to the other excel-file.
How can I do this?
One excel is object oExcel, the other oExcelInput
with this code I can copy it
- Code: Select all Expand view
oExcelInput:Sheets(oExcelInput:Worksheets( 'Network' ):name):Select()
oExcelInput:Sheets(oExcelInput:Worksheets( 'Network' ):name):copy()
but how add it to the other workbook?