+ Reply to Thread
Results 1 to 15 of 15

Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Hi,

    REQUISIÇÃO is being used as the interface tool for something I'm building. It will contain entry fields a user may enter. I need a VBA macro that will copy data from REQUISIÇÃO (cell D5,6,7,8 and so on …) and paste it into Sheet2 (C2, D2 and so on). It must also be able to clear the data from REQUISIÇÃO and allow the user to re-enter new data. When the user re-enters new data, it will copy into Sheet2, C2. When entered a new data in REQUISIÇÃO, it will copy into sheet2 D2, when entered another data in REQUISIÇÃO it will copy into sheet2 E2 and so on with DATE on top SHEET2 C1, D1 and so on in which is data was entered and saved. Any help is great. Thanks!

    Example:
    - Data is entered into REQUISIÇÃO D5
    - Command Button to run Macro
    - Data in REQUISIÇÃO D5 is copied and pasted to Sheet2 C2
    - Data in REQUISIÇÃO D5 is cleared after paste
    - User can re-enter new data into REQUISIÇÃO D5, data is copied and pasted into Sheet2 D2.

    NB: I HAVE ATTACHED SAMPLE FILE.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Not sure I understand, but does this help?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    JOHN, thanks for your reply. I just want to say that the code did not do what I was expecting it to do. I have attached the file for your review.

    Regards.
    Quote Originally Posted by JOHN H. DAVIS View Post
    Not sure I understand, but does this help?

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    What is it not doing that you want it too do?

  5. #5
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    When Data is entered into REQUISIÇÃO D5

    And the Command Button is click to run Macro

    The Data in REQUISIÇÃO D5 is copied and pasted to Sheet2 C2

    And Data in REQUISIÇÃO D5 is cleared after paste

    User can re-enter new data into REQUISIÇÃO it will copy into sheet2 D2 and so on with DATE on top SHEET2 C1, D1 and so on

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Maybe:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Thanks for the good job. It works but it only copied cell D5, I want it to be able to copy cell in RANGE of D:D to sheet2


    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    See if this does what you need.

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    wOW... Thanks very much. This work now.

    I would like to ask for one more thing.

    The Requisição sheet has a Vlook, when digit the code in cell A5 in Requisição sheet it will look for the item in Item sheet.
    Is it possible to Vlook the items slected in Requisição sheet when pasting in sheet2.

    Thanks for the help.

    You are the best.

    regards.

  10. #10
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Can you provide a sample with a vlook-up in place?

  11. #11
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    The Requisição sheet has a Vlook, when digit the code in cell A5 in Requisição sheet and the Command Button is click to run Macro it will look for the item in Item sheet.
    Is it possible to Vlook the items selected in Requisição sheet when pasting in sheet2.

    Remember that sheet2 has complete list of all items.

    When pasting the items selected from Requisição sheet. I would like the Vlookup to position the figures from Requisição sheet in cloum D:D to respective items in sheet2.

    Is this possible.
    Sem título.jpg
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Try:

    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    What I realy want is when submiting the selected items from REQUISIÇÃO SHEET, it should look for those on the sheet2 and enter the figures in the row which that item is located.

    This code did not do that is it possible.

    Regards,

  14. #14
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    What figures? Columns A-C from the REQUISIÇÃO SHEET? The row number from the REQUISIÇÃO SHEET? Where does it go on Sheet 2?

  15. #15
    Registered User
    Join Date
    06-18-2014
    Location
    Rio de janeiro
    MS-Off Ver
    2010
    Posts
    11

    Re: Transfer entered data from Sheet1(REQUISIÇÃO) to Sheet2

    Requisição Sheet->>> Columns A has the codes ->>>> Columns D has the figures that will go into sheet2


    I want the items code in column A and figures from Columns D selected from Requisição Sheet to Vlookup the code in sheet2 in Columns A:

    AND DO THE FOLLOWING.

    When Data is entered into REQUISIÇÃO D5

    And the Command Button is click to run Macro

    The Data in REQUISIÇÃO D5 is copied and pasted to Sheet2 C2

    And Data in REQUISIÇÃO D5 is cleared after paste

    User can re-enter new data into REQUISIÇÃO it will copy into sheet2 D2 and so on with DATE on top SHEET2 C1, D1 and so on

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. transfer current data from Sheet1 to Sheet2 via a button on Sheet1
    By BJB_88 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-08-2014, 06:02 AM
  2. Copy Data Entered in Sheet1 fix row to sheet2 always on next row
    By muneshmeena in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2013, 09:17 AM
  3. I want to transfer data from SHEET1 to SHEET2
    By hesham63 in forum Excel General
    Replies: 4
    Last Post: 07-30-2011, 12:28 PM
  4. Transfer data from sheet1 to sheet2 and sheet3
    By vbosmiya in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2007, 11:42 PM
  5. Transfer data from sheet1 to sheet2
    By Tommy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2005, 02:06 PM

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