S
SpiderSwamy
Hi All,
I have 2 workbook(i.e. 1.xls & 2.xls) at 2 different location, I want
to copy all the worksheets present in 2.xls to 1.xls file using vb6.
I am trying to open both the files and then trying with this code...
Workbooks(2.xls).Worksheets("sheet2").Copy _
After:=Workbooks(1.xls).Worksheets("sheet1")
I am getting "subscript out of range" error.... can u plz help me...
Thanks in Advance.
I have 2 workbook(i.e. 1.xls & 2.xls) at 2 different location, I want
to copy all the worksheets present in 2.xls to 1.xls file using vb6.
I am trying to open both the files and then trying with this code...
Workbooks(2.xls).Worksheets("sheet2").Copy _
After:=Workbooks(1.xls).Worksheets("sheet1")
I am getting "subscript out of range" error.... can u plz help me...
Thanks in Advance.