Prevost
Board Regular
- Joined
- Jan 23, 2014
- Messages
- 198
Hey There. I have a general question. I find myself using the 'For Each' loop when going through either user selected ranges or pre-defined ranges to find cells that have specific values, are blank, or are non-blank. Is there a more efficient way to accomplish this?
For example, I have a range "F2:F21" that I want to look through to find non-blank cells. When there is a non-blank cell, I am then using the information from that cell and cell offsets and exporting it into a new sheet in a new workbook. Is there a way to accomplish this without 'For Each' loops by using a built in excel function or something? I don't know which is why I am asking.
Thanks for any input!
For example, I have a range "F2:F21" that I want to look through to find non-blank cells. When there is a non-blank cell, I am then using the information from that cell and cell offsets and exporting it into a new sheet in a new workbook. Is there a way to accomplish this without 'For Each' loops by using a built in excel function or something? I don't know which is why I am asking.
Thanks for any input!