+ Reply to Thread
Results 1 to 5 of 5

Color/Highlight the Partial Content of a Cell

  1. #1
    Registered User
    Join Date
    12-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    23

    Color/Highlight the Partial Content of a Cell

    Hai,

    There is content in a cell about 10 words. But I wanted to color only one or two words.

    This should be done for around 1000 cells, hence I would request you to provide a macro for coloring words from a cell in one shot.



    Regards,
    Raja

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Color/Highlight the Partial Content of a Cell

    Hi, K.Raja,

    AFAIK this may only be done by stepping through the characters of the cells and colouring those that meet the cirteria. So it would be good if you could pass some more information as to what you mean by
    But I wanted to color only one or two words
    On one sheet? In one Workbook? Will the words be listed on a different sheet? Shall only those words be coloured? The same colour for each word? If the words change shall the colour of the other words be reverted back to black?

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Color/Highlight the Partial Content of a Cell

    Try this code to highlight words with specific colors.
    Attached Files Attached Files
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  4. #4
    Registered User
    Join Date
    12-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Color/Highlight the Partial Content of a Cell

    Thank you..........

    Its working........

  5. #5
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Color/Highlight the Partial Content of a Cell

    You are welcome, Please mark this thread as closed if you are satisfied with the solution provided.

+ 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. Extract partial content from a single cell
    By mildredtpeabody in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-21-2013, 06:39 PM
  2. [SOLVED] Highlight a cell if its content doesn't match another cells content
    By noxygen in forum Excel General
    Replies: 4
    Last Post: 04-12-2012, 04:36 AM
  3. Replies: 2
    Last Post: 02-27-2011, 11:52 PM
  4. copy partial cell content (with condition)
    By soak614 in forum Excel General
    Replies: 3
    Last Post: 06-26-2010, 05:11 AM
  5. [SOLVED] eliminate partial content from the cell
    By viktor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2005, 02:30 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