Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA Conditional formatting


I can change the conditional formats of cells with the
FormatConditions Object. But is it possible to get the conditional
formats from a cell in Excel to show them in VBA?


--
Steven E.
------------------------------------------------------------------------
Steven E.'s Profile: http://www.excelforum.com/member.php...o&userid=15123
View this thread: http://www.excelforum.com/showthread...hreadid=268130

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA Conditional formatting

? activeCell.FormatConditions(1).Formula1
5000
? activeCell.FormatConditions(1).Formula1
5000
? activeCell.FormatConditions(1).Operator
1

But See Chip Pearson's page on Conditional Formatting Colors

The code there will show you how to interpret the formulas.

http://www.cpearson.com/excel/CFColors.htm

--
Regards,
Tom Ogilvy

"Steven E." wrote in message
...

I can change the conditional formats of cells with the
FormatConditions Object. But is it possible to get the conditional
formats from a cell in Excel to show them in VBA?


--
Steven E.
------------------------------------------------------------------------
Steven E.'s Profile:

http://www.excelforum.com/member.php...o&userid=15123
View this thread: http://www.excelforum.com/showthread...hreadid=268130



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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 06:11 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"