Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Conditional Format Font Vs Normal Font

I have created a VB program that will check through out my spreadsheet for a
font that is a certain color. I am coloring my font's within the worksheet
using conditional formating. The problem I have is the conditional font color
does not seem to match up with the normal font color.

Example:
I am using a font.colorindex= 9 (Maroon) in my visual basic program.
I am choosing the "maroon" color font when doing my conditional formating in
the spreadsheet. (It does not allow you to give a color index number when
conditionally formating, you have to pick it from a color pallet.)

In my VB I am trying to count the cells that are "maroon" in color.

Here is what happens:
The cell that is colored due to the conditional formating is not counted.
If I manually format the font from the title bar, then the cell is counted.
It seems as though the conditional formating does not actually change the
font number and does not pick up in the count until I change the color
manually.

Any ideas on how to fix this?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Excel, conditional format (font red) referencing another cell? Christine Hemphill Excel Worksheet Functions 39 November 12th 09 03:40 PM
Conditional format Font Type(not colour) change frankod Excel Discussion (Misc queries) 2 June 24th 08 03:37 AM
why does font color appear in 'print preview' but not in 'normal' Frank Smith Excel Discussion (Misc queries) 1 December 18th 07 01:45 AM
in excel: format font conditional on content of adjacing cell? carl87 Excel Worksheet Functions 2 November 23rd 07 12:07 PM
Conditional format if cell=0 then font colour same as background . Paligap Excel Discussion (Misc queries) 2 December 20th 04 12:07 AM


All times are GMT +1. The time now is 09:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"