I am using Ubuntu 22.04 and LibreOffice 7.5.7.1. I have a document with many tables. I want a macro that will delete all the header row (first row) of all tables. Sample document is attached herewith.
English Roznama.odt (28.7 KB)
May be so?
Sub RemoveFirstRowInAllTextTables()
Dim oTextTable As Variant
For Each oTextTable In ThisComponent.getTextTables()
oTextTable.getRows().removeByIndex(0, 1)
Next oTextTable
End Sub