ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Determine in VBA if a cell has conditional formatting applied (https://www.excelbanter.com/excel-programming/388518-determine-vba-if-cell-has-conditional-formatting-applied.html)

Chuck M

Determine in VBA if a cell has conditional formatting applied
 
Hi,

Is there a way to determine through VBA if a cell has conditional formatting
applied to it?

--
TIA
Chuck M.

Jim Rech

Determine in VBA if a cell has conditional formatting applied
 
Try something like this:

ActiveCell.FormatConditions.Count 0

--
Jim
"Chuck M" wrote in message
...
| Hi,
|
| Is there a way to determine through VBA if a cell has conditional
formatting
| applied to it?
|
| --
| TIA
| Chuck M.



Chuck M

Determine in VBA if a cell has conditional formatting applied
 
Perfect! Thanks Jim.
--
Thanks.
Chuck M.


"Jim Rech" wrote:

Try something like this:

ActiveCell.FormatConditions.Count 0

--
Jim
"Chuck M" wrote in message
...
| Hi,
|
| Is there a way to determine through VBA if a cell has conditional
formatting
| applied to it?
|
| --
| TIA
| Chuck M.





All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com