ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Locating 1st blank cell in named range (https://www.excelbanter.com/excel-programming/379375-re-locating-1st-blank-cell-named-range.html)

Don Guillett

Locating 1st blank cell in named range
 
or to look in the first column

Sub dd()
Range("BankAccounts").Columns(1).Find("").Select
End Sub

--
Don Guillett
SalesAid Software

"BOBODD" wrote in message
...
I have a named range "BankAccounts" which is A12:A52. This range fills from
A12 down. I'm using

Range("BankAccounts").End(xlUp).Offset(1, 0).Select

To try to find the first blank cell, but this is returning A1. What have
I
missed?




BOBODD

Locating 1st blank cell in named range
 
Wow! Thanks guys, that's a fair amount of info to go on with.

"Don Guillett" wrote:

or to look in the first column

Sub dd()
Range("BankAccounts").Columns(1).Find("").Select
End Sub

--
Don Guillett
SalesAid Software

"BOBODD" wrote in message
...
I have a named range "BankAccounts" which is A12:A52. This range fills from
A12 down. I'm using

Range("BankAccounts").End(xlUp).Offset(1, 0).Select

To try to find the first blank cell, but this is returning A1. What have
I
missed?






All times are GMT +1. The time now is 07:41 AM.

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