What is the command to split a cell into multiple columns?

Hello!

I select a cell in a table, then click “Table->Split->Columns->5” in the upper menu.
Since the macro recorder does not record actions done via dialogs, it does not record this action.

Can somebody tell me what the command would be for this action?

Thank you!

Things are complicated. Apache OpenOffice Community Forum - [Solved] Writer convertToTable - (View topic)

This is achieved using the splitRange method.

Sub Test
  Dim oCursor As Object
  oCursor = ThisComponent.TextTables(0).createCursorByCellName("A1")
  oCursor.splitRange 5, false
End Sub