Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default EXCEL 97: Count Conditional Formatting?

Hi Simsjr,

Try:

Sub Tester02()
Dim Rng As Range
Dim myCount As Long

On Error Resume Next
Set Rng = Columns("A").SpecialCells _
(xlCellTypeAllFormatConditions)
On Error GoTo 0

If Not Rng Is Nothing Then
myCount = Rng.Count
Else
myCount = 0
End If
MsgBox myCount

End Sub

---
Regards,
Norman



"simsjr" wrote in message
...
Hello,

Anyone know how to make Excel 97 count all the cells in a column and count
how many have conditional formatting applied?



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
COUNT IF - Conditional Formatting KC Excel Discussion (Misc queries) 2 October 30th 09 04:38 PM
COUNT CELLS WITH CONDITIONAL FORMATTING PEGWINN Excel Worksheet Functions 6 September 22nd 07 06:03 PM
Count and Sum with Conditional Formatting Problem pmahajan Excel Worksheet Functions 1 December 14th 04 05:30 AM
EXCEL 97: Count Conditional Formatting? Tom Ogilvy Excel Programming 1 September 15th 04 05:45 PM
Count Conditional Formatting LD[_2_] Excel Programming 5 October 14th 03 10:51 PM


All times are GMT +1. The time now is 04:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"