Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 394
Default Macro to Show Conditional Formatting Criteria

Hi Everyone,

Does anyone have a Macro that will List Cell References that have
Conditional Formatting along with the Conditional Formatting Formulas,
Colour, Font, Borders etc.

Thanks in Advance
All the Best
Paul
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to Show Conditional Formatting Criteria

Dim rng as Range
Dim cell as Range
Dim cond as FormatCondition
On Error Resume Next
set rng = Cells.SpecialCells(xlCellTypeAllFormatConditions)
On Error goto 0
if not rng is nothing then
for each cell in rng
for each cond in cell.FormatConditions


next
Next
End if



you can get the rest of the information from the FormatConditions Object.
look in excel VBA help for details

--
Regards,
Tom Ogilvy


"Paul Black" wrote in message
...
Hi Everyone,

Does anyone have a Macro that will List Cell References that have
Conditional Formatting along with the Conditional Formatting Formulas,
Colour, Font, Borders etc.

Thanks in Advance
All the Best
Paul



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 394
Default Macro to Show Conditional Formatting Criteria

Thanks Tom,

I will have a look at it over the weekend and try to figure out the
rest in order to get it to list the required information.
Thanks again.

All the Best
Paul

"Tom Ogilvy" wrote in message ...
Dim rng as Range
Dim cell as Range
Dim cond as FormatCondition
On Error Resume Next
set rng = Cells.SpecialCells(xlCellTypeAllFormatConditions)
On Error goto 0
if not rng is nothing then
for each cell in rng
for each cond in cell.FormatConditions


next
Next
End if



you can get the rest of the information from the FormatConditions Object.
look in excel VBA help for details

--
Regards,
Tom Ogilvy


"Paul Black" wrote in message
...
Hi Everyone,

Does anyone have a Macro that will List Cell References that have
Conditional Formatting along with the Conditional Formatting Formulas,
Colour, Font, Borders etc.

Thanks in Advance
All the Best
Paul

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
Conditional Formatting color doesn't show up: 90% Stu Excel Worksheet Functions 7 August 27th 09 08:45 PM
Conditional formatting for many criteria Ruth Excel Discussion (Misc queries) 2 October 10th 08 09:54 PM
Conditional Formatting of 4 criteria gibsol Excel Discussion (Misc queries) 10 October 6th 08 10:22 AM
CONDITIONAL FORMATTING FOR MORE THAN 3 CRITERIA FARAZ QURESHI Excel Discussion (Misc queries) 1 February 12th 08 09:35 AM
need help with conditional formatting 3 criteria [email protected] Excel Worksheet Functions 2 November 10th 06 12:55 PM


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