error on Server defined OLE exception Printout method


When I run and load a cobol program that generated a PDF file from an Excel file, which used to run without any problem, now the attached message appears.

This message is due to the version of Office I use and is a NetExpress error.
Any hint on how to solve it?

The Cobol statement that gives the error is as follows 

invoke theSheet "PrintOut" using desde hasta NCOPIAS activeprinter readonly printofile collate

invoke theSheet "finalize" returning theSheet