>>>Any reason you didn't use
loExcelSheet.UsedRange.Rows.Count
?
>>
>>
>>Because I had no idea that it existed. ;-) What I wanted was to get the last row of the last column in 1 call. Your's and Jon's solutions worked out well.
>
>The UsedRange was the first suggestion in the message I pointed you to. :)
Thanks, Sergey <g>
If it's not broken, fix it until it is.
My Blog