View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 1,726
Default Locating 1st blank cell in named range

Assuming that A12:A52 has data

Range("BankAccounts").end(xldown).Offset(1, 0).Select


If not

cells(Range("BankAccounts").rows.count+Range("Bank Accounts").row-1,Range("BankAccounts").Column).offset(1,0).select


--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Trevor Shuttleworth" wrote in message
...
Try: Range("BankAccounts").End(xldown).Offset(1, 0).Select

Range("BankAccounts").End(xlup).Offset(1, 0).Select gives me cell A2

Regards

Trevor


"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?