+ Reply to Thread
Results 1 to 3 of 3

VBA Code to Include Font Color

  1. #1
    Forum Contributor
    Join Date
    07-30-2014
    Location
    Mosman, Australia
    MS-Off Ver
    2013
    Posts
    118

    VBA Code to Include Font Color

    Hi,

    I am currently using the following VBA in my spreadsheet:

    Please Login or Register  to view this content.
    However the code is not working on the conditionally formatted cells. I assume its because these particular cells have the letter "X" in them. Or it might not work because the cells are conditionally formatted? All i know is that the above VBA works only on cells that i manually color with RGB 128,128,128 and not cells when they are conditionally formatted to RGB 128,128,128 using the format based on a formula. Can someone please help me so that the above VBA works on both manually and conditionally formatted cells.

    Many thanks

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: VBA Code to Include Font Color

    see this - Conditional Formatting Colors
    hope it helps!

  3. #3
    Forum Contributor
    Join Date
    07-30-2014
    Location
    Mosman, Australia
    MS-Off Ver
    2013
    Posts
    118

    Re: VBA Code to Include Font Color

    Hi, thanks for that but i have no idea how to write a VBA, someone else gave me the above VBA so i have no idea how to include what i want.

+ 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] VB Code to change Font color
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 07:10 PM
  2. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  3. Best way to change color of font in code?
    By bobbby1949 in forum Excel General
    Replies: 5
    Last Post: 08-27-2011, 04:50 PM
  4. VBA code to check font color
    By ExcelinExcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2007, 01:06 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