Results 1 to 10 of 10

Lookup and Copy Cells with more than 255-characters

Threaded View

longbow007 Lookup and Copy Cells with... 04-30-2016, 10:16 PM
jindon Re: Lookup and Copy Cells... 04-30-2016, 10:46 PM
longbow007 Re: Lookup and Copy Cells... 04-30-2016, 11:00 PM
jindon Re: Lookup and Copy Cells... 04-30-2016, 11:11 PM
longbow007 Re: Lookup and Copy Cells... 04-30-2016, 11:46 PM
FDibbins Re: Lookup and Copy Cells... 05-01-2016, 12:01 AM
jindon Re: Lookup and Copy Cells... 05-01-2016, 12:09 AM
longbow007 Re: Lookup and Copy Cells... 05-01-2016, 12:25 AM
longbow007 Re: Lookup and Copy Cells... 05-01-2016, 12:15 AM
FDibbins Re: Lookup and Copy Cells... 05-01-2016, 12:47 AM
  1. #1
    Forum Contributor
    Join Date
    06-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    245

    Smile Lookup and Copy Cells with more than 255-characters

    Hello, could someone please help me with the following Excel 2003 VBA problem:

    In the attached workbook named: Part Number and Comments Lookup.xls --- there are 2 x worksheets named:

    • Master_List
    • SupplierComments

    I need to look-up the Part Numbers in the Master_List worksheet to see if there is any corresponding Part Numbers in the SupplierComments worksheet.

    If so, I need the corresponding Comments in column K (SupplierComments worksheet) to be copied over to the Master_List worksheet in column Q.

    For example: Part Number 101 (located in cell C3 of the Master_List worksheet) has a corresponding part number in cell C3 of the SupplierComments worksheet.

    The comments in cell K3 (SupplierComments worksheet) need to be copied across to cell Q3 (Master_List worksheet).

    The main difficulty is that some of the cells in column K (SupplierComments worksheet) exceed 255 characters.

    I was trying a VLOOKUP in cell Q2 (Master_List worksheet) with the following formula and dragging it down column Q, however the cells that contain over 255 characters were truncated:

    =VLOOKUP(C2,SupplierComments!$C$2:$K$65,10,False)

    If someone could please help me with some VBA code to do this --- it would be greatly appreciated.

    Kind regards,

    Chris
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lookup, when found copy certain cells
    By dutchmaste in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-04-2016, 08:11 AM
  2. Replies: 0
    Last Post: 05-27-2015, 10:23 AM
  3. Lookup and highlight text in cells with wildcard characters
    By Halulu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2014, 10:06 AM
  4. Replies: 1
    Last Post: 07-02-2013, 10:55 AM
  5. Replies: 11
    Last Post: 01-23-2013, 02:04 PM
  6. Lookup and copy multiple cells into one
    By hg34 in forum Excel General
    Replies: 4
    Last Post: 06-17-2010, 07:12 PM
  7. Lookup Value & Then Copy 5 Cells To The Right
    By NSTurk725 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2010, 06:19 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