![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Washington State, USA
Posts: 250
|
Hi
I want to copy from sheet3 (L1) to Sheet1 (A2). I don't want to over write data that might already be there, If there is data in Sheet1 (A2), then Paste the new data in (A2)an so on. Why didn't anybody tell me about this Board! haha Thanks for your time, Jim [ This Message was edited by: jeh on 2002-04-28 22:58 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
Hi Jim try; Sheets("Sheet3").Range("L1").Copy Sheets("Sheet1").Range("A1").End(xlDown).Offset(1, 0) |
|
|
|
|
|
|
#3 | |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Quote:
Do you want this automated I guess? Whenever a value is entered into sheet3 L1, you want to send the value to the next available row on sheet1 Column A? Thanks, Tom |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: Washington State, USA
Posts: 250
|
Hi Tom,
Yes, I do. I want to be able to hit a command button that will send this data to the other sheet. I can make the command button, just can't seem to put the horsepower behind it. Thanks, Jim |
|
|
|
|
|
#5 | ||
|
Board Regular
Join Date: Apr 2002
Location: Washington State, USA
Posts: 250
|
Quote:
|
||
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi Jim...
You do not need a commandbutton for this routine... From sheet3, right click on your sheet tab, choose view code, and paste this in... If the value in L1 is changed, the new value will be sent to the first available row on sheet1 in column A... Tom
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: Washington State, USA
Posts: 250
|
Hi Tom,
Thank you very much. This is just what I needed (for now). Jim |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|