|
-
Aug 20th, 2005, 07:59 AM
#1
Thread Starter
Junior Member
Get the row number of the the end of one column
I need to get how many rows are written in a column in a excel sheet. If bettwen the rows there are not anyone emtpy i dont have problems using:
XXX=Spreadsheet1.Columns(1).End(xlDown).Row
However, with empty rows, this command will return then number of the row before the first row empty.
Can you help me?
-
Aug 20th, 2005, 10:00 AM
#2
Re: Get the row number of the the end of one column
How about selecting the final cell (row 65k) first, then going for xlUp rather than xlDown?
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
|