Consulting

Results 1 to 7 of 7

Thread: Formatting multiple occurences of words.

  1. #1
    VBAX Contributor
    Joined
    Oct 2004
    Location
    Cardiff
    Posts
    120
    Location

    Formatting multiple occurences of words.

    Hi yall (how's my American coming along?),

    I'm hoping to find occurences of the word "Siebel" in a spreadsheet and change the font to bold and blue. I also need to find the Occurences of " SAP" and change to bold and red. Does anyone know of any code that will help me do this, as I have 3,000 or so records to plough through. Problem is, only those words should be changed, even though a cell will contain these words anywhere in a given sentence.

    Thanks in Advance

    Regards

    Damo
    You cannot solve all the world's major problems using only potatoes. :- Adams

    http://www.vbaexpress.com

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Try this.
    • Select all your cells


    • Format | conditional Formatting


    • Formula Is

    • =NOT(ISERR(FIND("Siebel",A1,1)))
    • Format as desired


    • Rinse


    • Repeat

  3. #3
    VBAX Contributor
    Joined
    Oct 2004
    Location
    Cardiff
    Posts
    120
    Location
    FAB
    You cannot solve all the world's major problems using only potatoes. :- Adams

    http://www.vbaexpress.com

  4. #4
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Glad to help.

    Take Care

  5. #5
    VBAX Contributor
    Joined
    Oct 2004
    Location
    Cardiff
    Posts
    120
    Location
    You forgot "spin"!

    Quote Originally Posted by DRJ
    Try this.
    • Select all your cells

    • Format | conditional Formatting

    • Formula Is

    • =NOT(ISERR(FIND("Siebel",A1,1)))

    • Format as desired

    • Rinse

    • Repeat
    You cannot solve all the world's major problems using only potatoes. :- Adams

    http://www.vbaexpress.com

  6. #6
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    You spin around when you wash your hair.

    What happens if you get dizzy and fall out of the shower?

  7. #7
    VBAX Contributor
    Joined
    Oct 2004
    Location
    Cardiff
    Posts
    120
    Location
    Eek! falling out of the shower!

    I fainted once, climbing out of the tub. Was spotted on the floor by my lodger.
    You cannot solve all the world's major problems using only potatoes. :- Adams

    http://www.vbaexpress.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •