OK, I am finishing up an add-on project for a legacy Excel-VBA application, and I have once again run up against the conundrum of the mysterious range.Rows
(?) and
I'm not sure, but I think the second parameter is a red herring.
Both .Rows and .Columns take two optional parameters: RowIndex and ColumnIndex. Try to use ColumnIndex, e.g. Rows(ColumnIndex:=2)
, generates an error for both .Rows and .Columns.
My feeling it's inherited in some sense from the Cells(RowIndex,ColumnIndex)
Property but only the first parameter is appropriate.