Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

Using the first part of the macro only:

sub vai_qui
If NOT ThisComponent.supportsService ("com.sun.star.text.TextDocument") Then
    Exit Sub
End If
End sub

I have no problems with running this in either Base or Writer. As you stated, this is a BASIC (program language) problem and not a Base problem. There is possibly a problem with the LO provided by your distro (Kubuntu) - contact them.

My test was done on Mint 18.2 OS with LO v5.4.1.2 from LibreOffice.