Condititional Formatting Range Address

J

Jim

I have a Worksheet with conditional formattting
on it. Is there a VB method to determine the
range used by the conditional formattting? There
are no named ranges that I can find.

Thanks in advance,
Jim
 
T

Tom Ogilvy

Perhaps:

Dim rng as Range
On Error Resume Next
set rng = Cells.SpecialCells(xlCellTypeAllFormatConditions)
On Error goto 0
if not rng is nothing then
rng.select
End if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top