+ Reply to Thread
Results 1 to 5 of 5

Macro to Change Font Color in Portion of Cell

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Macro to Change Font Color in Portion of Cell

    I want to change the font color on certain words within a cell. Each cell has several phrases and everytime there is a space of 3, then I want the next phrase to alternate = font blue. Next phrase font black.

    I have no idea how to go about this. This is horrible.

    Please Login or Register  to view this content.

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

    Re: Macro to Change Font Color in Portion of Cell

    If this is not what you want, need to see before/after format.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro to Change Font Color in Portion of Cell

    Hi

    This code will change the Font Color of the Three Cells listed in line 2. You can add as many cell references as you want


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

  4. #4
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Macro to Change Font Color in Portion of Cell

    Jindon. That code is so beyond me it isn't even funny. It turned some words blue but not the entire phrase. For some reason it always changed the font of "Reason". Not sure if that's a coincidence. Then my computer crashed.

    mehmetcik, I'll have to check your code out on Monday. I gotta say, I usually like to understand the code I'm using; even if I couldn't come up with it. But the majority of this I'm totally clueless on.

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

    Re: Macro to Change Font Color in Portion of Cell

    Do you mean like this?
    Try the attached
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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