+ Reply to Thread
Results 1 to 1 of 1

finding partial string into another workbook, then do several cell copy when found

  1. #1
    Registered User
    Join Date
    05-01-2020
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    2

    Post finding partial string into another workbook, then do several cell copy when found

    Hi everyone,

    I want to update several lines/columns into a worksheet (ex. WStarget) from another one (ex. WSmaster).

    1st: For every lines into WBmaster (ex. L2 to L250) I must find where this "partial string" is located inside WStarget (ex. X2-X1000).
    2nd: When I found a match inside WStarget, I want to paste specific columns from WSmaster inside specific columns inside WStarget.


    I'm able to find where the "partial string" is located but I'm having problems when trying to fill several columns using Index Match. I wonder if it'll be simpler to use VBA instead.
    (Inside WStarget)
    =INDEX($A$2:$AA$284;EQUIV("*"&MSmaster!L2&"*";$AA$2:$AA$284;0);2)
    (Inside WSmaster)
    =INDEX('WStarget!$A$2:$AA$284;EQUIV("*"&L2&"*";'WStarget$AA$2:$AA$284;0);2)

    Have yourself a Merry Christmas and Happy New Year btw!



    VBA code I'm working on right now:
    Please Login or Register  to view this content.
    Last edited by ml0808-CTH; 12-19-2021 at 09:07 AM.

+ 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. [SOLVED] Activate a workbook with partial file name. Exit sub if not found?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-12-2017, 11:33 AM
  2. Search cell values from range in another workbook and copy found row to a 3rd workbook.
    By SierraKilo78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2014, 01:09 PM
  3. VBA Find Partial String in String Array and Output the Found String Array Value
    By scherich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2014, 11:20 AM
  4. [SOLVED] problem finding string using .find method when string to be found contains ~ (a tilde)
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2013, 07:38 AM
  5. Replies: 20
    Last Post: 01-02-2011, 10:00 PM
  6. Finding Partial String Matches
    By evs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2009, 06:22 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