L
Lionel Fridjhon
I am looping to add data to the last row of a large
spreadsheet.
I am using the statement "Range("B1").End(xlDown).Select"
to get the last row. The next statement is "variable
=selection.row + 1"
When I get to selection.Row = 32767 and try to add 1 to
the row number, I get an overflow message.
There are 63,535 rows in the spreadsheet, and 32767 is
almost half of that number.
Any clues as to what is happening?
Lionel
spreadsheet.
I am using the statement "Range("B1").End(xlDown).Select"
to get the last row. The next statement is "variable
=selection.row + 1"
When I get to selection.Row = 32767 and try to add 1 to
the row number, I get an overflow message.
There are 63,535 rows in the spreadsheet, and 32767 is
almost half of that number.
Any clues as to what is happening?
Lionel