View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
AA2e72E AA2e72E is offline
external usenet poster
 
Posts: 400
Default Conditional Formatting

Try:

0=Range("B1:B9").FormatConditions.Count

If TRUE, the range has conditional formatting, if FALSE, it does not

"ExcelMonkey" wrote:

Is it possible to tell whether a an excel range has
conditional formatting applied to it from VBA? That is,
can I pass a range to a function which states in boolean
(true/false) whether the range is conditionally formatted?

Thanks.