+ Reply to Thread
Results 1 to 2 of 2

Copy/Paste user input info into another worksheet

  1. #1
    Registered User
    Join Date
    01-12-2011
    Location
    Hartford, USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Copy/Paste user input info into another worksheet

    Hi all --

    In sheet one when user enters value (a questionnaire) and hits the "Save" button: 1. It should copy the values entered and pastes its horizontally so as to create a table in Sheet 2.

    2. Then it should clear the answers for the next set of input values. And again when the Save button is hit, it should copy/paste it to the next line in Sheet 2.

    I was able to record a macro to copy/paste to the next sheet. But how do I get the next set of values to be copy/paste to next line in Sheet 2, instead of it overwriting the initial info?

    Here's what I have:

    Please Login or Register  to view this content.
    Thanks,

    Mark.
    Last edited by pike; 01-12-2011 at 09:30 PM. Reason: add code tags PM to OP

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Copy/Paste user input info into another worksheet

    Hi Mark

    I've taken the liberty to "clean up" the macro recorder code to eliminate the "selects" you get with the recorder. You don't often need to "select" to perform an action on a cell.

    Read the code...if you need clarification...let me know.
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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