Help with createcursor in LibreOffice Calc

I have some rather large spreadsheets that began life as MS Excel books. And i’m slowly converting the underlying macro from VB (written by me) to Libre. Needless to say, the learning curve is steep and requires a lot of google’ing. The upshot of the question relates ‘CreateCursor’ method on sheet objects. I see many code snippets from responders referring to it, but i cannot find any info on what it actually is or what it does or how to use it. I’m guessing that it moves the range structure access from i/o to RAM, effectively treating the sheet as an in in-memory array. Grateful for any help, pros/cons.

thx

I do appreciate the Link to the Wiki. Bookmarked already. I now know ‘how’. But ‘why/when’ still eludes me. Thanks

on such general questions, maybe just general reading : Macros - The Document Foundation Wiki, including the extensive www.pitonyak.org/oo.php

or more spotted : Comparison ViewCursor and TextCursor

1 Like

I think your links have answered my question (again). i’m visualising the 'cursor’s allowing you to manage the values (only) on the sheet, without the baggage of all the extraneous activities going on when you manipulate cell, rows, columns and ranges. maybe, content only, rather then, content and colours, might me a simpler way to put it.

Thx^2