ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   COPY SHEETS FROM TWO DIFFERENT EXCEL FILES INTO A THIRD (https://www.excelbanter.com/excel-programming/386032-copy-sheets-two-different-excel-files-into-third.html)

Guy Cohen[_2_]

COPY SHEETS FROM TWO DIFFERENT EXCEL FILES INTO A THIRD
 
Hi all
I am trying to copy sheet1 from file1.xls and file2.xls into file3.xls which
is empty.
I use vb6 and vb.net
please post some code
I looked in the internet and sheet.copy causes an error!!!
HELP
TIA
Guy



merjet

COPY SHEETS FROM TWO DIFFERENT EXCEL FILES INTO A THIRD
 
You must specify a particular sheet, e.g. ActiveSheet.Copy or
Sheets(1).Copy or Sheets("Sheet1").Copy.

Hth,
Merjet






All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com