Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Finding first (end of range) empty cell

Hi,

i'd like to know how would it be possible to find the first empty cell in a
colum (after a range of values, ie bottom example), with having a static row
value (this sheet would have variable numbers of rows). The column would be
static.

ex :

In this case id like to know the address A4, reminder, there might be more
rows or less, depending on the file.

a b c d
1 X X X X
2 X X X X
3 X X X X
4

Thank you for your answer, in advance

Alex


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Finding first (end of range) empty cell

Alex

Try the following to get you started



Sub Find_Address()
'range("a3")=start of the column you want to find the address on
lastcell = Range("a3").End(xlDown).Offset(1, 0).Address '.Select
MsgBox lastcell


End Sub
"Alesandro Senerchia" wrote in message
...
Hi,

i'd like to know how would it be possible to find the first empty cell in

a
colum (after a range of values, ie bottom example), with having a static

row
value (this sheet would have variable numbers of rows). The column would

be
static.

ex :

In this case id like to know the address A4, reminder, there might be more
rows or less, depending on the file.

a b c d
1 X X X X
2 X X X X
3 X X X X
4

Thank you for your answer, in advance

Alex




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Finding first (end of range) empty cell

Range("A" & Rows.Count).End(xlUp).Offset(1).Address

--

Vasant

"Alesandro Senerchia" wrote in message
...
Hi,

i'd like to know how would it be possible to find the first empty cell in

a
colum (after a range of values, ie bottom example), with having a static

row
value (this sheet would have variable numbers of rows). The column would

be
static.

ex :

In this case id like to know the address A4, reminder, there might be more
rows or less, depending on the file.

a b c d
1 X X X X
2 X X X X
3 X X X X
4

Thank you for your answer, in advance

Alex




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
Finding First Empty Cell in a Column TomHull Excel Discussion (Misc queries) 5 November 9th 09 01:19 AM
Finding First Empty Cell in a Column TomHull Excel Discussion (Misc queries) 0 November 9th 09 12:21 AM
If cell not empty, then display from range puiuluipui Excel Discussion (Misc queries) 7 October 3rd 09 08:01 PM
Picking up the last non-empty cell in a given range zhj23 Excel Discussion (Misc queries) 4 June 1st 05 12:34 AM
Goto next empty cell in a range Keith Robinson Excel Programming 2 November 15th 03 03:52 AM


All times are GMT +1. The time now is 06:48 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"