|
-
Feb 25th, 2000, 07:31 AM
#1
Thread Starter
Hyperactive Member
I was wondering if there is any way to detect the last row that has an entry in a certain column. Because I have a rather unique situation in which, I know that all of the rows that have an entry in a certain column will be at the top and all of the rows that have that column blank will be at the bottom. However, I need to know where that separation is made. Is there one simple function that will tell me that?
-Ryan
I smell varmint poontang, and the only good varmint poontang is dead varmint poontang...
-Bill Murray, Caddyshack
-
Feb 25th, 2000, 09:41 AM
#2
Check out TextMatrix property.
TextMatrix(Row, Column)....so let's say you want to get the value from last row and last column:
Code:
With MsFlexGrid
MsgBox .TextMatrix(.Rows - 1, Cols - 1)
End With
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
|