How do I get the row number off of a Excel Row object?

I have the following code
script.rows(1:10).each {
        >row>
}

Is there a way that I can call something like row.rowNumber?

I just need to know what row num I am on.

I have tried each_with_index, but that does not seem to work with this
type of collection.

Thanks for any help

try "row.Address". hope that helps.

wlaver@gmail.com wrote:

···

I have the following code
script.rows(1:10).each {
        >row>
}

Is there a way that I can call something like row.rowNumber?

I just need to know what row num I am on.

I have tried each_with_index, but that does not seem to work with this
type of collection.

Thanks for any help