sub Spaltenbreite_Tabelle
Dim oTable As Object
Dim tabs()
oDoc=ThisComponent
oTables = oDoc.GetTextTables()
Anzahl = oTables.getcount
for i = 0 to Anzahl -1
oTable = odoc.texttables(i)
tabs= oTable.TableColumnSeparators
tabs(0).position= 2355 'Wert 2355 eventuell anpassen
oTable.TableColumnSeparators=tabs()
next i
end sub
sub Spaltenbreite_Tabelle
Dim oTable As Object
Dim tabs()
oDoc=ThisComponent
oTables = oDoc.GetTextTables()
Anzahl = oTables.getcount
for i = 0 to Anzahl -1
oTable = odoc.texttables(i)
mycols=oTable.getColumns()
Anz_Col=mycols.getcount()
if Anz_Col = 2 Then
tabs= oTable.TableColumnSeparators
tabs(0).position= 2355 'Wert 2355 eventuell anpassen
oTable.TableColumnSeparators=tabs()
end if
next i
end sub
Ich wünsche noch fröhliches Schaffen.
Jürgen
Software hat keinen Verstand - benutze deinen eigenen...!