Sure you want RowIndex? not RowIndex - 1?
Whats the error and did you really need to spam so many different questions, as they are all based around the same subject.. you could have placed them 1 by 1
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
You havent explained the problem of the last row, the reason I wonder about -1 is becaue of the 0 based array/list properties.
What is the error you get? Is there any other code you have around that line?
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
Would not the row index be higher than the record count?
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190