Closed Thread
Results 1 to 3 of 3

Multiple find and replace macro from list

  1. #1
    Registered User
    Join Date
    11-02-2017
    Location
    brussels
    MS-Off Ver
    Mac office 2011
    Posts
    14

    Multiple find and replace macro from list

    Sorry for posting it twice....
    Refresh issues with my computer...


    Hello,
    I need help with a find and replace macro.
    I am working on excel tables containing 26000 lines and about 40 columns.
    The list containing the original value and the replacement value is 26.000 lines long ;-)

    The macro works brilliantly except the 'find and replace' is done several times on partial words
    I guess, I cannot say string because in my cell, I might have smt like
    Keyword1;Keyword2

    Here is the find and replace list
    Original value Replacing value
    keyword1 keyword1 [475]
    keyword2 keyword1 [678]
    keyword3 keyword1 [956]
    keyword keyword1 [10]


    The problem is that the macro replaces both the value "keyword" and the value keyword one

    The separator is a semi colon (I do not know if it is important)
    What I would like to change is for instance only "Keyword1"

    Please Login or Register  to view this content.
    Could anyone help on this?
    Thank you very much

    PS in my attachement there is the .xlsm with the macro and replacement list....

    RPS: this macro was found on extend office...
    https://www.extendoffice.com/documen...s-at-once.html
    Attached Files Attached Files
    Last edited by evevansoens; 11-16-2017 at 07:05 AM. Reason: posted twice by mistake

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,615

    Re: Multiple find and replace macro from list

    duplicate: https://www.excelforum.com/excel-pro...-tto-well.html
    Ben Van Johnson

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,904

    Re: Multiple find and replace macro from list

    Welcome to the Forum, unfortunately this is a duplicate post and as such will now be closed, you may continue in your other thread.

    Thread Closed.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro multiple find and replace
    By twl78 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2015, 05:57 AM
  2. [SOLVED] Find and replace multiple values in one cell from list
    By shawnvon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2015, 10:03 PM
  3. Macro for Find and Replace but for an entire list
    By quikgun15 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2014, 11:11 PM
  4. macro for find and replace from list
    By jgelbach in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-25-2012, 03:12 PM
  5. 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
  6. speading up a multiple Find and replace Macro
    By highwyre237 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2009, 02:17 PM
  7. Optimizing Excel macro to find/replace with the list of data contained in the macro
    By Iceyburnz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-17-2008, 08:41 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