+ Reply to Thread
Results 1 to 3 of 3

Search list for value and then copy and paste text into cell on same row

  1. #1
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Manchester, UK
    MS-Off Ver
    Microsoft Office 365
    Posts
    127

    Search list for value and then copy and paste text into cell on same row

    Hi Guys

    In Column A i have a list of device serial numbers.

    In Cell F4 i want to be able to type in the serial number and then in cell F8 i want to type a value.

    When i run a macro i want the macro to search the list of serials in column A for the serial number i placed in Cell F4.

    Then i want the macro to copy any value that is entered in Cell F8 and then paste this information on the relevant row in Column D.

    Can anyone help with this?

    Thanks
    Dave

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Search list for value and then copy and paste text into cell on same row

    Copy and paste this macro into the worksheet code module. Do the following: right click the tab for your sheet and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet. First enter a value in F4 and then enter a value in F8 and exit the cell.

    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,370

    Re: Search list for value and then copy and paste text into cell on same row

    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)

Similar Threads

  1. Replies: 1
    Last Post: 10-06-2017, 05:02 PM
  2. Search "text", In that row goto Col H copy cell, go to move Col K paste cell Loop to end
    By RobertVaughan in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-20-2017, 09:59 PM
  3. [SOLVED] VBA Loop to search for text then copy and paste in same sheet
    By NerdNinja in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-03-2017, 01:17 PM
  4. Replies: 2
    Last Post: 11-15-2015, 01:33 AM
  5. [SOLVED] Search for the text in cell A1 in a list and remove the text if found in the list
    By kak0 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-24-2014, 11:01 PM
  6. Search for text, and copy/paste row
    By andorphin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2010, 09:34 AM
  7. Search, Copy, and Paste Text
    By Engineers08 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2007, 10:44 AM

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