ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find first Empty Cell in a row (https://www.excelbanter.com/excel-programming/423908-find-first-empty-cell-row.html)

Scott R[_2_]

Find first Empty Cell in a row
 
I have a spreadsheet where each row has a varying number filled cells. I
want to find the first empty cell in the row. I tried searching for the
first cell with a value equal to 'Empty'. However, this sees a 0 and an
empty cell as the same. How do I find the cell that is empty (not populated
with a zero value)?

Rick Rothstein

Find first Empty Cell in a row
 
FirstBlankCellInColumnC = Cells(1, "C").End(xlDown).Row + 1

--
Rick (MVP - Excel)


"Scott R" <Scott wrote in message ...
I have a spreadsheet where each row has a varying number filled cells. I
want to find the first empty cell in the row. I tried searching for the
first cell with a value equal to 'Empty'. However, this sees a 0 and an
empty cell as the same. How do I find the cell that is empty (not populated
with a zero value)?



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

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