It's an integer value, you can store it in a variable , as in:
local lnRows
lnRows = oExcel.WorkBooks(1).Worksheets(1).UsedRange.Rows
>Okay,
>
> I used the 1st line and did not get an error running the code, but can you tell me is there a variable I can look at to see what the values return are?
>
>Thanks...