Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default Locating 1st blank cell in named range


Range("BankAccounts").specialcells(xlCellTypeBlank s).Cells(1).select

NOTE:
This will generate a runtime error if there is no blank cells in the range,
so you need to trap it with an On Error statement...

--
Regards,
Luc.

"Festina Lente"


"BOBODD" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Average Formula to display blank cell if named range is blank Rachael F Excel Worksheet Functions 3 February 22nd 08 05:05 PM
Locating 1st blank cell in named range Trevor Shuttleworth Excel Programming 1 December 13th 06 11:03 PM
Find first blank cell in single column named range tig Excel Programming 9 February 9th 06 05:39 PM
How to detect when a named cell (range) is Blank in VBA? Richard[_34_] Excel Programming 3 January 26th 06 05:27 PM
Locating first blank cell Mike W New Users to Excel 3 August 25th 05 09:02 PM


All times are GMT +1. The time now is 08:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"