+ Reply to Thread
Results 1 to 10 of 10

Macro usage in order to highlight/format particular words in cell

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    Salt Lake City
    MS-Off Ver
    2013
    Posts
    7

    Question Macro usage in order to highlight/format particular words in cell

    Hello!

    New to the forum, hoping to find some help. I need to create a macro in order to highlight/bold/change color of certain words (eye, pain, irritation) in a cell, but leave the rest of the cell untouched (conditional formatting option failed me). I've looked around, but haven't been able to implement anything successfully.

    Any/all help would be greatly appreciated

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

    Re: Macro usage in order to highlight/format particular words in cell

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-16-2015
    Location
    Salt Lake City
    MS-Off Ver
    2013
    Posts
    7

    Re: Macro usage in order to highlight/format particular words in cell

    Sorry, this is probably and easy fix, but getting a

    Compile error
    Invalid outside procedure

    Any help?

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

    Re: Macro usage in order to highlight/format particular words in cell

    Do you want to upload your workbook, so that I can install my code properly.

  5. #5
    Registered User
    Join Date
    04-16-2015
    Location
    Salt Lake City
    MS-Off Ver
    2013
    Posts
    7

    Re: Macro usage in order to highlight/format particular words in cell

    Sadly I can't upload the file, sensitive information within, can you possibly walk me through it? I am a quick learner

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

    Re: Macro usage in order to highlight/format particular words in cell

    Just a small sample workbook, no need to be your real file(dummy data is fine).

    I just wnat to see how your data is structured.

  7. #7
    Registered User
    Join Date
    04-16-2015
    Location
    Salt Lake City
    MS-Off Ver
    2013
    Posts
    7

    Re: Macro usage in order to highlight/format particular words in cell

    Can i get your email to send it directly, rather than a public post?

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

    Re: Macro usage in order to highlight/format particular words in cell

    I'm afraid no.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-16-2015
    Location
    Salt Lake City
    MS-Off Ver
    2013
    Posts
    7

    Re: Macro usage in order to highlight/format particular words in cell

    I was able to get it work with that sample file, thank you!!!!!!!

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

    Re: Macro usage in order to highlight/format particular words in cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Fixing a macro intended to retreive words from a cell according to their order
    By Sbselby in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-19-2014, 06:39 PM
  2. [SOLVED] Swap order of words in a cell
    By jessiebelle1980 in forum Excel General
    Replies: 4
    Last Post: 01-08-2014, 11:44 AM
  3. Replies: 6
    Last Post: 06-26-2013, 06:41 PM
  4. [SOLVED] Macro that can search a database and highlight multiple words
    By Buster^ in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 03-19-2013, 06:19 PM
  5. Highlight cell with many words, with duplicates from row with single words.
    By Meows in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2010, 08:27 PM

Tags for this Thread

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