Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() My doubt is this. I need to write a program to open an excel sheet and copy 3 excel sheet into single .xls file which should contain 3 excel sheets.How do i proceed? -- deepa prabhakar ------------------------------------------------------------------------ deepa prabhakar's Profile: http://www.excelforum.com/member.php...o&userid=34821 View this thread: http://www.excelforum.com/showthread...hreadid=545775 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dim oWBThis As Workbook
Dim oWB As Worksheet Set oWBThis = ActiveWorkbook Set oWB = Workbooks.Open(Filename:="Single.xls") oWBThis.Sheets(Array("Sheet1", "Sheet2", "Sheet3")).Copy _ after:=oWB.Worksheets(oWB.Worksheets.Count) -- HTH Bob Phillips (replace somewhere in email address with googlemail if mailing direct) "deepa prabhakar" <deepa.prabhakar.28epd0_1148633108.7019@excelfor um-nospam.com wrote in message news:deepa.prabhakar.28epd0_1148633108.7019@excelf orum-nospam.com... My doubt is this. I need to write a program to open an excel sheet and copy 3 excel sheet into single .xls file which should contain 3 excel sheets.How do i proceed? -- deepa prabhakar ------------------------------------------------------------------------ deepa prabhakar's Profile: http://www.excelforum.com/member.php...o&userid=34821 View this thread: http://www.excelforum.com/showthread...hreadid=545775 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Asked previously...can this not be done in excel | Excel Discussion (Misc queries) | |||
create a macro to save excel sheet | Excel Worksheet Functions | |||
is there anyway in an excel macro to reorder the sheet tabs from left to right? | Excel Worksheet Functions | |||
Getting Excel Data from One Sheet to Another.... | Excel Discussion (Misc queries) | |||
Copying multiple sheets from one book 2 another and undertake spec | Excel Discussion (Misc queries) |