https://bugs.documentfoundation.org/show_bug.cgi?id=51925
--- Comment #15 from sander <[email protected]> --- The problem still exists: BASIC-runtime-fout. Objectvariabele niet ingesteld. My macro: Sub test3 Dim oDoc As Object Dim oTables As Object Dim oTable As Object Dim i As Integer ' Haal het huidige document op oDoc = ThisComponent ' Haal alle tabellen in het document op oTables = oDoc.getTextTables() ' Loop door elke tabel en pas de kolombreedtes aan For i = 0 To oTables.getCount() - 1 oTable = oTables.getByIndex(i) oTable.Columns.getByIndex(0).Width = 8900 ' 8,9 cm oTable.Columns.getByIndex(1).Width = 1000 ' 1 cm oTable.Columns.getByIndex(2).Width = 9700 ' 9,7 cm Next i End Sub Error occurs on: oTable.Columns.getByIndex(0).Width -- You are receiving this mail because: You are the assignee for the bug.
