ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Select or Filter by Fill Color (https://www.excelbanter.com/excel-worksheet-functions/5715-select-filter-fill-color.html)

Wil

Select or Filter by Fill Color
 
Hi,

Does anyone know how to select a range of rows/column while they were tagged
by Fill Color?
For example,
A1 to A3, and A10 to A15 have Fill Color Green
A4 to A6, and A7 to A9 have Fill Color Red
Then, I want to filter/select only the Red and paste the values in a
different workbook.

Is there any work-around to do these or a VBA script available that somebody
can share?

Thanks in advance.

-Wilfredo



CyberPhix

Google Groups is our friend =)
Try this, its got tons of posabilities in it.

For Each cell In Selection
If cell.Interior.ColorIndex = 1 Then
[action]
End If
Next


-----Original Message-----
Hi,

Does anyone know how to select a range of rows/column

while they were tagged
by Fill Color?
For example,
A1 to A3, and A10 to A15 have Fill Color Green
A4 to A6, and A7 to A9 have Fill Color Red
Then, I want to filter/select only the Red and paste the

values in a
different workbook.

Is there any work-around to do these or a VBA script

available that somebody
can share?

Thanks in advance.

-Wilfredo


.



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

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