ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find first and last cells in column that have a certain fill color (https://www.excelbanter.com/excel-programming/285148-find-first-last-cells-column-have-certain-fill-color.html)

Ashleigh K.

Find first and last cells in column that have a certain fill color
 
Hello All,

I am looking to create a macro that looks at a column, finds the first cell
in that column that has a green (colorindex=35) fill color and names it
(named range). Then I would like the macro to find the last cell in the
column that has that same color fill and name that one as well. Then I would
like to be able to reference the range that falls between the two named
cells and have the macro perform text to columns on it. Does anyone have any
ideas on how I might achieve this? Thanks in advance,

Ashleigh





All times are GMT +1. The time now is 05:07 PM.

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