How to convert Excel file to PDF without X server?

Hello,

Is it possible to convert an Excel file to a PDF file using command line without having a X server installed on a Linux distribution ?

Thanks,

Erwan.

File > Export as PDF ? You may only be able to one sheet at a time. Highlight what you want and choose Selection?