Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just a guess, but this will copy sheet1 to sheet3 and copy sheet2 to the
next available row in sheet3: Sub CopySheets() Dim iLRow As Long Sheets("Sheet1").UsedRange.Copy Destination:= _ Sheets("Sheet3").Range("A1") iLRow = Sheets("Sheet3").Cells(Rows.Count, "A").End(xlUp).Row Sheets("Sheet2").UsedRange.Copy Destination:= _ Sheets("Sheet3").Range("A" & iLRow + 1) End Sub Mike F "althonfx" wrote in message ... hi, i am newbie in excel programming... can anyone tell me how to combine 2 or excel into 1 excel file(different sheet)? example: i wan combine excel file A and excel file B into excel file C (in differrent sheet), using marcos. how should i do?? -- althonfx ------------------------------------------------------------------------ althonfx's Profile: http://www.excelforum.com/member.php...o&userid=28473 View this thread: http://www.excelforum.com/showthread...hreadid=480787 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
combine many excel files in one file | Excel Discussion (Misc queries) | |||
Compare to two sheets in one excel file to evaluate and combine whereidentical. | Excel Worksheet Functions | |||
Combine worksheets from different excel files into one excel file | Excel Discussion (Misc queries) | |||
Is it possible to combine MATCH & IF to search an excel sheet | Excel Worksheet Functions | |||
In Excel combine tables from multiple worksheets in to one sheet? | Excel Worksheet Functions |