Thank you for your reply,
Indeed, on libreoffice on server linux, by terminal, installing the macro and generating a pdfa: that's works.
the problem is for my local windows environment with libreofficeGUI.
Do you have a version of SaveToPdfA1(cFile) for the libreoffice GUI windows10 module1?
Because I changed the quote by "",
now the error is on: cURL = convertToURL(cFile)
error message: BASIC runtime error. The argument is not optional
Thanking you for your help
Christophe