|
-
Mar 19th, 2003, 04:43 AM
#1
Thread Starter
Hyperactive Member
***Resolved***Last row in excel
is there anyway of finding the number of the last row in excel without looping through first?
Last edited by beasty1711; Mar 19th, 2003 at 05:11 AM.
"...They even have the internet on computers..." :- Homer Simpson
"Second Place is First Looser" :- No Fear
-
Mar 19th, 2003, 05:01 AM
#2
Unless you are trying to find the very last row (which is probably empty) thois should work:
VB Code:
MaxRowNumber = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Row
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Mar 19th, 2003, 05:10 AM
#3
Thread Starter
Hyperactive Member
"...They even have the internet on computers..." :- Homer Simpson
"Second Place is First Looser" :- No Fear
-
Mar 19th, 2003, 05:16 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|