I found a solution to something I was trying to figure out in an answer given by @ratslinger a few years ago. The code works fine, but I’m curious about 1 line.
sel(0) = oForm.getBookMark()
Rewriting it as
sel(0) = oForm.row
seems to work fine. Is there a difference between the .getBookmark method and the .row property? If someone used Form.row in place of Form.getBookmark, would it trip them up somewhere down the line, or are they really interchangeable?
I have no idea what a bookmark is in the context of a Base form, and its use in Base doesn’t seem to be documented anywhere. Does a bookmark offer something that a row index doesn’t? Or is it just a relic from Writer forms that no one has pruned off yet? The word “bookmark” offers no clues about what it represents.