+ Reply to Thread
Results 1 to 3 of 3

Replacing specific text in multiple cells

  1. #1
    Registered User
    Join Date
    03-13-2014
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    25

    Replacing specific text in multiple cells

    Hi guys,
    I'm having problem replacing a specific text in multiple cells. Something like this:
    Cell A1 contains: "ABC 123456"
    Cell A2 contains: "4567 ABC"
    Cell A3 contains: "AOK2ABC354"
    And so on.....

    Now, I want to replace the old "ABC" with a new one "ABC" Bold, red color, size 12 while leaving the other text untouched.
    I've tried a few methods but none of them work.
    I'm wondering if someone here is kind enough to write an example Macro/VBA coding for this.

    Thanks guys.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Replacing specific text in multiple cells

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Replacing specific text in multiple cells

    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

+ 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. Replacing specific text in a cell by row and replace with text in another row
    By merQrey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2014, 10:05 AM
  2. If statement for specific text in multiple cells
    By adcohen88 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-18-2014, 07:38 PM
  3. Replacing specific text in cell
    By SSB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2012, 01:57 PM
  4. Replacing all No fill cells with colour in specific selection
    By dirtydan86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2011, 12:02 PM
  5. Replies: 1
    Last Post: 02-08-2005, 03:06 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