+ Reply to Thread
Results 1 to 6 of 6

Multiple find and replace

  1. #1
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Multiple find and replace

    Hi Guys,

    I have a workbook with 2 worksheets, WS1 and WS2, as per attached example.
    WS1 is the sheet that has the words to be found and replaced in WS2. It has two columns: ColA with words to find and ColB with words to be replacing those in ColA.

    What I am after is a script to search for each word in ColA of WS1, and find it in WS2, then replace it with its analogous word in ColB of WS1. The result should be in a new worksheet, eg WS3

    As per attached example, WS2 is demonstrated before and after applying "find and replace".

    Any assistance in this issue is highly appreciated.
    Many thanks in advance.Multi_find_replace_example.xlsm

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Multiple find and replace

    Try
    Please Login or Register  to view this content.
    Multi_find_replace_example with code.xlsm

  3. #3
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Multiple find and replace

    That is extraordinary Jindon, thank you very much indeed.
    Just one more request, can we expand the range instead of just ColD, can it be for the entire 8 columns (A-H)?
    Very much appreciated.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Multiple find and replace

    Just change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-04-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    204

    Re: Multiple find and replace

    Thanks very much Jindon. All the best.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Multiple find and replace

    If that takes care of your original question, select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Find and Replace Multiple
    By gulf1 in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-06-2013, 07:00 PM
  2. Multiple Find + Replace
    By Climatorial in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-15-2013, 12:25 PM
  3. Multiple Find and replace
    By Dowie in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-13-2012, 07:02 PM
  4. find and replace multiple values across multiple worksheets
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2012, 10:48 AM
  5. [SOLVED] Do Find & Replace multiple times using data in Col B for find & data in Col C for replace
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 08:23 AM
  6. Multiple Find and Replace to replace a list of strings
    By WalterP34 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2011, 07:41 PM
  7. multiple find & replace
    By Robinski in forum Excel General
    Replies: 5
    Last Post: 06-18-2010, 11:15 AM
  8. Multiple Find and Replace
    By shadow91 in forum Excel General
    Replies: 4
    Last Post: 03-18-2010, 05:31 PM

Tags for this Thread

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