+ Reply to Thread
Results 1 to 4 of 4

How to highlight a word in a sentence?

  1. #1
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    How to highlight a word in a sentence?

    Hi,
    In column A there are words, and in column B examples containing these words,
    For instance: if in A1 appears the word "pertinent" then in the adjacent column appears the sentence "it is pertinent to mention that.."
    I need code to color only the common word, hence the word pertinent,
    Here is the code I was thinking of, just as a base, it does not work:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Please * if you like the answer

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to highlight a word in a sentence?

    Hi

    Take a look here to see how this works
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to highlight a word in a sentence?

    Thanks Fotis, I'll delve into the thread.
    Last edited by GIS2013; 01-19-2014 at 05:25 AM.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to highlight a word in a sentence?

    You are welcome and thanks for the feedback & rep.

+ 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. Finding a word within a sentence
    By Michael D in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2013, 04:50 PM
  2. [SOLVED] Seeing if a sentence contains a certain word
    By ohaganli in forum Excel General
    Replies: 8
    Last Post: 10-17-2012, 08:27 AM
  3. [SOLVED] Search for a word from a sentence....
    By raghuprasad.999 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-26-2012, 10:54 PM
  4. how extract word in sentence
    By rathnam in forum Excel General
    Replies: 2
    Last Post: 08-06-2011, 01:52 PM
  5. How do I highlight a word or sentence within Excel?
    By cands in forum Excel General
    Replies: 1
    Last Post: 10-11-2005, 06:05 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