I am working in xlsx (Excel 2007) and working with a range, long 260k rows. I declared a counter as "long" to determine the range size. Msgbox returns the correct 260k. I can go to the end of the range, so row 260k ... Now I want to work my way up line by line by using:
But Excel returns an overflow error message.![]()
For i = lngLastRow (the long variable) to 2 Step -1 code Next
Any suggestion ?
Bookmarks