+ Reply to Thread
Results 1 to 13 of 13

How to mark duplicate words to red?

  1. #1
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    How to mark duplicate words to red?

    How to mark duplicate words to red for all cells in worksheet?

    It is duplicated words red red.
    to
    It is duplicated words red red.

  2. #2
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: How to mark duplicate words to red?

    London,

    Here is the code to do what I think you are trying to achieve

    In a standard module:
    Please Login or Register  to view this content.
    RedFont.png

    RedFont.xlsm

  3. #3
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    Hi Maudibe,

    The VBA work for
    How about this this

    but not for
    How about this this?

    How to revise the VBA to ignore punctuation?

  4. #4
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: How to mark duplicate words to red?

    London,

    Please add the lines highlighted in blue

    Please Login or Register  to view this content.
    Note: Using the Replace lines will not change the original value in the cell.

    HTH,
    Maud

  5. #5
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    Thanks Maudibe, it's work.

    I have another small query:
    How to insert image in thread, same as post #2?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to mark duplicate words to red?

    Instead if inserting images, which not all members can see - and we cant really work with pictures anyway - upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    Please advise the steps to "upload a small (clean) sample workbook"?

  8. #8
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: How to mark duplicate words to red?

    london,

    I use the same icon to load both pictures and file

    upload.png

  9. #9
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    Thanks Maudibe for suggestion.

  10. #10
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    Upon my further checking to VBA, the following words that is not duplicated become red:

    Area of footings of railing
    We refer to drawing CCE/761/D-05 to 08

    Please advise.

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,517

    Re: How to mark duplicate words to red?

    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    09-18-2011
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    375

    Re: How to mark duplicate words to red?

    I want mark duplicated words that is consecutive:
    (i.e not for this + this or 3.3e)

  13. #13
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,517

    Re: How to mark duplicate words to red?

    Then that should be very simple, wait for your friend.

+ 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. [SOLVED] Mark words like ONGAONGA
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-01-2016, 11:33 PM
  2. Find Specific words/values in Columns and mark them
    By Rolandelo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-25-2015, 06:15 AM
  3. Macro find unknown words and mark containing cell
    By forfiett in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2012, 04:58 PM
  4. Replies: 3
    Last Post: 11-28-2012, 04:00 AM
  5. Duplicate mark
    By dirre in forum Excel General
    Replies: 1
    Last Post: 11-29-2011, 11:11 AM
  6. mark duplicate cells with different color
    By seesun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2011, 11:28 AM
  7. How to mark duplicate cells
    By jgomez in forum Excel General
    Replies: 5
    Last Post: 02-18-2011, 07:28 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