Tenho esta macro de deletar, com a área selecionada…
'' Deletar Oque = Sub DeleteWhat ( xDel$ )
Sub DeleteWhat ( xDel$ )
'------------------------------------------------------------------------------
' Add the letters in the sequence below:
'  "S" = Text
'  "V" = Number
'  "D" = DataTime
'  "F" = Formula
'  "N" = Anotation
'  "T" = Format
'  “A” = All + Object
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Flags" : args1(0).Value = xDel   
CreateUnoService("com.sun.star.frame.DispatchHelper") _
.executeDispatch(ThisComponent.CurrentController.Frame, ".uno:Delete", "", 0, args1())
End Sub
Mas não deleta somente Objetos, ( botões etc ), alguém conhece este comando ?
Ola @elmau, tem alguma dica…
