Hello,
I’ve been searching for a property to show the number of rows and columns used. I want to loop through data on the sheet, but not the entire sheet itself. I also want to append data at the end of a sheet so knowing where I can safely start inserting data is important.
I’ve tried the code below but it gives me the grand total.
msgbox thiscomponent.sheets(0).rows.count
I have found some solutions but they are over 3 years old, I was hoping Libre office had moved on and maybe this is now available without moving the cursor and querying it’s position.
The excel vba equivalent would be:
UsedRange.rows.count