+ Reply to Thread
Results 1 to 4 of 4

Macro to copy paste values of a Row based on the cell selected in that row

  1. #1
    Registered User
    Join Date
    11-29-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Macro to copy paste values of a Row based on the cell selected in that row

    Hi,

    Require help to write a macro to copy paste values of a particular Row based on the selection of any cell in that row.
    Have attached a sample document.

    Capture.PNG

    On selection of the Name Harry - I want his age *** and Location to be Pasted in another sheet.

    Regards,
    Bosco
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Macro to copy paste values of a Row based on the cell selected in that row

    hi Bosco, try using this code:

    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-29-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Macro to copy paste values of a Row based on the cell selected in that row

    Hi,

    thanks for the update. But is there a way to copy cell by cell or specific cells since Copying the entire row may not work for the data that I work on.

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Macro to copy paste values of a Row based on the cell selected in that row

    then maybe:
    Please Login or Register  to view this content.

+ 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