in reply to
Re: Using Win32::OLE and Excel - Tips and Tricks
in thread Using Win32::OLE and Excel - Tips and Tricks
I'm searching for everything (or better, anything), starting at the end (either last row, or last column).
The row/column properties return the first area in the specified range that matches, so in this case, it starts at the end of the sheet, either last row or last column,(because of the SearchDirection=>xlPrevious) looking for anything, finds it in the last row/column with data in it and returns that (as an int).
Hope that makes sense.