Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy data from a list to another sheet
Hi,
I have a list or database in excel and I need to copy the data I select to another sheet. Let me explain: suppose I select the range A1:E1 from the table and copy/paste it to A1:E1 (sheet2), then I select A9:E9 and copy it to A2:E2 on sheet2. How can I create a macro that will copy my selection and paste it on the other sheet/workbook next to the last row of data entered. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy data from a list to another sheet
here is one way
Sub test() Selection.Copy Destination:=Sheet2.Range("A65536").End(xlUp).Offs et(1, 0) End Sub -- Paul B Always backup your data before trying something new Using Excel 97 & 2000 Please post any response to the newsgroups so others can benefit from it ** remove news from my email address to reply by email ** "karaeloko" wrote in message ... Hi, I have a list or database in excel and I need to copy the data I select to another sheet. Let me explain: suppose I select the range A1:E1 from the table and copy/paste it to A1:E1 (sheet2), then I select A9:E9 and copy it to A2:E2 on sheet2. How can I create a macro that will copy my selection and paste it on the other sheet/workbook next to the last row of data entered. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy data from a list to another sheet
Cells(selection.Row,1).Resize(1,5).Copy _
Destination:=Worksheets("Sheet2"). _ Cells(rows.count,1).End(xlup)(2) or the more general: Selection.Copy _ Destination:=Worksheets("Sheet2"). _ Cells(rows.count,1).End(xlup)(2) -- Regards, Tom Ogilvy "karaeloko" wrote in message ... Hi, I have a list or database in excel and I need to copy the data I select to another sheet. Let me explain: suppose I select the range A1:E1 from the table and copy/paste it to A1:E1 (sheet2), then I select A9:E9 and copy it to A2:E2 on sheet2. How can I create a macro that will copy my selection and paste it on the other sheet/workbook next to the last row of data entered. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy data from a list to another sheet
thank you!
Regards, -----Original Message----- here is one way Sub test() Selection.Copy Destination:=Sheet2.Range("A65536").End (xlUp).Offset(1, 0) End Sub -- Paul B Always backup your data before trying something new Using Excel 97 & 2000 Please post any response to the newsgroups so others can benefit from it ** remove news from my email address to reply by email ** "karaeloko" wrote in message ... Hi, I have a list or database in excel and I need to copy the data I select to another sheet. Let me explain: suppose I select the range A1:E1 from the table and copy/paste it to A1:E1 (sheet2), then I select A9:E9 and copy it to A2:E2 on sheet2. How can I create a macro that will copy my selection and paste it on the other sheet/workbook next to the last row of data entered. . |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
copy data from a list to another sheet
thank you!...
regards, -----Original Message----- Cells(selection.Row,1).Resize(1,5).Copy _ Destination:=Worksheets("Sheet2"). _ Cells(rows.count,1).End(xlup)(2) or the more general: Selection.Copy _ Destination:=Worksheets("Sheet2"). _ Cells(rows.count,1).End(xlup)(2) -- Regards, Tom Ogilvy "karaeloko" wrote in message ... Hi, I have a list or database in excel and I need to copy the data I select to another sheet. Let me explain: suppose I select the range A1:E1 from the table and copy/paste it to A1:E1 (sheet2), then I select A9:E9 and copy it to A2:E2 on sheet2. How can I create a macro that will copy my selection and paste it on the other sheet/workbook next to the last row of data entered. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy rows from one Data sheet to another sheet based on cell conte | Excel Discussion (Misc queries) | |||
i have a list i need to copy onto another sheet one by one | Excel Discussion (Misc queries) | |||
How to copy drop down list to next sheet | Excel Discussion (Misc queries) | |||
How can i copy data from a tabbed working sheet to a summary sheet | Excel Discussion (Misc queries) | |||
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 | Excel Worksheet Functions |