View Single Post
  #1   Report Post  
Celt
 
Posts: n/a
Default


Thanks Harlan!

That "IF(ISNUMBER()" function you gave me won't work for me, though.

=IF(ISNUMBER(Sheet1!R1C1),"A2",#N/A) will always return A2 if there is
a number in A1. Essentially, what I was looking for was a function
that would search all of column A (A:A) and give me the ADDRESS of the
next empty cell after the last piece of data in that column. So lets
say the last bit of data is in A14, I want the function to return
A15...the next empty cell.

The first 2 rows of column A contain no data. One of the earlier
functions given works perfectly...

=ADDRESS(MATCH(9.99999999999999E+307,Sheet1!A:A)+ 1,1,4)

This gives me the what I am looking for, but my macro doesn't like it.
Alone it works fine, in the macro I get an error.

I think it has to do with how A:A translates into R1C1......

There has got to be a way to do this.

Thanks for all the help so far!


--
Celt
------------------------------------------------------------------------
Celt's Profile: http://www.excelforum.com/member.php...o&userid=19413
View this thread: http://www.excelforum.com/showthread...hreadid=468069