PC Review


Reply
Thread Tools Rate Thread

Append data to a sheet's next row

 
 
Turbo
Guest
Posts: n/a
 
      28th Apr 2007
Hello, This is probably really easy. I need to take data from one
sheet on one line and input it onto a second sheet but in a fashion
such as in an access table as a new record. Example:

Sheet 1

A B C
1 red blue green

I'd like to then push a button that ports the info on the next
available line on Sheet 2 like this:

----------------
button such as CLICK here to add record to Sheet 2
----------------
The result would be...

Sheet 2

A B C
50078 old data here
50079 red blue green <--- added in from Sheet 1 via the button
push.



Then the next time I do this, I'd like it to add another row like
this:

Sheet 1

A B C
1 purp yell blue

----------------
button such as CLICK here to add record to Sheet 2
----------------

The result would be...

Sheet 2

A B C
50078 old data here
50079 red blue green
50080 purp yell blue <--- added in from Sheet 1 via the button
push.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?ZXhjZWxlbnQ=?=
Guest
Posts: n/a
 
      28th Apr 2007
put code in regular module
assign Formulars-button to this code

Sub copyColor()
Sheets("Sheet1").Range("A1:C1").Copy Sheets("Sheet2").Range("A" &
Cells(65535, 1).End(xlUp).Row + 1)
End Sub



"Turbo" skrev:

> Hello, This is probably really easy. I need to take data from one
> sheet on one line and input it onto a second sheet but in a fashion
> such as in an access table as a new record. Example:
>
> Sheet 1
>
> A B C
> 1 red blue green
>
> I'd like to then push a button that ports the info on the next
> available line on Sheet 2 like this:
>
> ----------------
> button such as CLICK here to add record to Sheet 2
> ----------------
> The result would be...
>
> Sheet 2
>
> A B C
> 50078 old data here
> 50079 red blue green <--- added in from Sheet 1 via the button
> push.
>
>
>
> Then the next time I do this, I'd like it to add another row like
> this:
>
> Sheet 1
>
> A B C
> 1 purp yell blue
>
> ----------------
> button such as CLICK here to add record to Sheet 2
> ----------------
>
> The result would be...
>
> Sheet 2
>
> A B C
> 50078 old data here
> 50079 red blue green
> 50080 purp yell blue <--- added in from Sheet 1 via the button
> push.
>
>

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      28th Apr 2007
See this page for examples
http://www.rondebruin.nl/copy1.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Turbo" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Hello, This is probably really easy. I need to take data from one
> sheet on one line and input it onto a second sheet but in a fashion
> such as in an access table as a new record. Example:
>
> Sheet 1
>
> A B C
> 1 red blue green
>
> I'd like to then push a button that ports the info on the next
> available line on Sheet 2 like this:
>
> ----------------
> button such as CLICK here to add record to Sheet 2
> ----------------
> The result would be...
>
> Sheet 2
>
> A B C
> 50078 old data here
> 50079 red blue green <--- added in from Sheet 1 via the button
> push.
>
>
>
> Then the next time I do this, I'd like it to add another row like
> this:
>
> Sheet 1
>
> A B C
> 1 purp yell blue
>
> ----------------
> button such as CLICK here to add record to Sheet 2
> ----------------
>
> The result would be...
>
> Sheet 2
>
> A B C
> 50078 old data here
> 50079 red blue green
> 50080 purp yell blue <--- added in from Sheet 1 via the button
> push.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i append data to a sheet or book from another one Abdulla Microsoft Excel Programming 1 26th Jan 2010 08:36 AM
How to Append data in excel sheet =?Utf-8?B?dml2?= Microsoft Excel Programming 2 21st Mar 2007 01:42 PM
Append Data to another sheet.. The Boondock Saint Microsoft Excel Discussion 4 14th Dec 2006 06:59 PM
Re: Macro to cpy data from one wrkbk and append to a sheet in anotherwrkbk Dave Peterson Microsoft Excel Discussion 5 29th Sep 2005 03:46 AM
Append the data given in diff sheets of an Excel File to one sheet =?Utf-8?B?c2Fuc2tfMjM=?= Microsoft Excel Worksheet Functions 3 10th May 2005 02:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:52 PM.