PRIYARANJAN
New Member
- Joined
- Apr 20, 2011
- Messages
- 5
Hi,
I have a requirement like:
There is an xls sheet which contain some data.I want to copy the whole content of that xls sheet to another xls sheet(work1.xls).
I have tried following code:
Sub Mover2()
ActiveSheet.Move Before:=Workbooks("work1.xls").Sheets(1)
'Moves active sheet to beginning of named workbook.
'Replace Test.xls with the full name of the target workbook you want.
End Sub
But this is not working fine.
can any body help me regarding the same.....thanks in advance
I have a requirement like:
There is an xls sheet which contain some data.I want to copy the whole content of that xls sheet to another xls sheet(work1.xls).
I have tried following code:
Sub Mover2()
ActiveSheet.Move Before:=Workbooks("work1.xls").Sheets(1)
'Moves active sheet to beginning of named workbook.
'Replace Test.xls with the full name of the target workbook you want.
End Sub
But this is not working fine.
can any body help me regarding the same.....thanks in advance