+ Reply to Thread
Results 1 to 6 of 6

Need a Macro to do a find and replace for multiple text in just one column only

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    indiana, usa
    MS-Off Ver
    Excel 2010
    Posts
    35

    Need a Macro to do a find and replace for multiple text in just one column only

    I need to do like 20-30 name replacements in only one column. What would be a good macro for this? What it would do is for example in Column D? it will have a user name already there like "ccothern" and would need it to replace all instances of that name to "Morse" or etc. IT would need to do this for other names as well in this column. Ideas? Thanks as always!

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Need a Macro to do a find and replace for multiple text in just one column only

    Perhaps something like this

    Please Login or Register  to view this content.
    or:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    indiana, usa
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Need a Macro to do a find and replace for multiple text in just one column only

    How would this work for multiple search and replaces?
    Example: Bob must be replaced with Kentucky, Jim must be replaced with VIrginia, etc?

    Quote Originally Posted by StevenM View Post
    Perhaps something like this

    Please Login or Register  to view this content.
    or:

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Need a Macro to do a find and replace for multiple text in just one column only

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-18-2012
    Location
    indiana, usa
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Need a Macro to do a find and replace for multiple text in just one column only

    Excellent, this was the money! Thanks so much!!


    Quote Originally Posted by StevenM View Post
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    09-10-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Need a Macro to do a find and replace for multiple text in just one column only

    Is there a way to do this for multiple sheets as well?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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