ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   select first non blank cell (https://www.excelbanter.com/excel-programming/334276-select-first-non-blank-cell.html)

JH

select first non blank cell
 
Hello everybody,

easy task (but not for me)
how to select first non blank cell in a column (eg. A)
starting row 1

thanks very much in advance

H



Bernie Deitrick

select first non blank cell
 
H,

If your columnd is filled with constants (entered values)

Range("A:A").SpecialCells(xlCellTypeConstants)(1). Select

If it has formulas
Range("A:A").SpecialCells(xlCellTypeFormulas)(1).S elect

HTH,
Bernie
MS Excel MVP


"JH" wrote in message
...
Hello everybody,

easy task (but not for me)
how to select first non blank cell in a column (eg. A)
starting row 1

thanks very much in advance

H






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

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