+ Reply to Thread
Results 1 to 3 of 3

Automatic copy and insert row to other sheet after input and click button

  1. #1
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Automatic copy and insert row to other sheet after input and click button

    Hello Bos, can u help me please ??
    When I want entry the data like name, address and etc in sheet1 and then I click a button at sheet1, so in sheet2 aotumatic insert the data (copy) from sheet1 and then in sheet2 automatic insert row after get the data from sheet1 (button1.click).
    How can do that ??
    Sorry my english grammar is not so good..
    Last edited by antoni; 05-15-2009 at 11:28 PM. Reason: english grammar is not so good

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Automatic copy and insert row to other sheet after input and click button

    Hi

    The following code will copy the contents of row 2 from Sheet1 to the next available row on Sheet2. It assumes that row 1 on both sheets is a header row, and the data entered on Sheet1 takes place in row 2

    The last line clears the entries on Sheet1 ready for the next input. Comment out this line if you don't want the entry cleared.

    Please Login or Register  to view this content.
    Last edited by Andy Pope; 05-16-2009 at 07:12 AM. Reason: code tags added. Hi Roger!
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Thumbs up Re: Automatic copy and insert row to other sheet after input and click button

    Thank's for your help Mr. Roger..
    it's very nice code and running with succesfully for my worksheet.
    Success for u Bos !!!
    But, how can insert data from sheet1 to sheet2 accordance with the invoice number ?
    Example :
    On sheet1 entry the data like customer name, Qty and the invoice number. Sometimes we entry the data, invoice number is not sequential. So my question is : How we can insert the data from sheet1 to sheet2 accordance with the invoice number ? but the invoice number is ready on sheet2.

    Thank's before..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1