Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find 100% by column and color cells

Sub Tester1()
Dim cell As Range
For Each cell In Range("A1:A500")
If Application.CountIf( _
cell.Offset(0, 9).Resize(1, 247), _
"100%") 0 Then
cell.Resize(1, 10).Interior _
.ColorIndex = 3
Else
cell.Resize(1, 10).Interior _
.ColorIndex = xlNone
End If
Next
End Sub

worked for me.

--
Regards,
Tom Ogilvy



"Duncan_J" wrote in message
...
Ok, here is a tough one... which I could do if a filtered 200+ columns one

at
a time, and which would be a huge macro. I want to filter each column from

J
all the way to the end, which is IV... I'm filtering for "100%" When

filtered
and if 100% is in that column. I want to color the cells of a row A though

I
with color code 35
Thanks for any ideas. It could be done but it would take about a half day

to
do it manually.
DJ



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
Find cells w/background color based on conditional formatting Freida Excel Worksheet Functions 2 November 17th 08 07:36 PM
Find feature - Fill cells with color dford Excel Discussion (Misc queries) 8 March 12th 07 04:10 PM
find 100% by column and color cells Don Guillett[_4_] Excel Programming 0 September 3rd 04 04:40 PM
Find first and last cells in column that have a certain fill color Ashleigh K. Excel Programming 1 December 11th 03 03:54 PM
Find first and last cells in column that have a certain fill color Ashleigh K. Excel Programming 0 December 11th 03 03:41 PM


All times are GMT +1. The time now is 04:01 AM.

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"