Hopefully a simple question, but I cannot seem to find an answer in the documentation or online:
I want to be able to select particular rows/columns within Writer document text tables.
In theory the macro should look something like this:
sub test
Doc = ThisComponent
Col = Doc.getTextTables(0).getColumns.getbyindex(3)
Doc.CurrentController.Select(Col)
end sub
However, I am currently getting a BASIC runtime error:
Property or method not found: getColumns.
(Same goes for ‘getRows’)
The command seems to work if I create a table from scratch, but will not work on existing tables??
Thanks in advance!