How can I convert or print an Excel worksheet to PDF?

I’m using MBS XL Plugin to create Excel files. Now I would like to add the option to create directly a pdf file (without showing neither an excel file nor any printer dialog). I also have DynaPDF.

I was unable to find such an example in the MBS plugins. Could anybody give me a hint, or help with a code-snippet to get me up and running?

Thanks in advance,

There is no code for this.
But the table class in DynaPDF may help you format a table.