I don't know if my question has been answered, but I couldn't find in this forum. I would like to convert a worksheet of an Excel ( .xlsx ) into a PDF. Is there any sample code ? You can store that worksheet as a blob with mime type as 'application/vnd.ms-excel.sheet.macroEnabled.12'. How to convert it into a PDF ( download ) using Apex22.2 ?
The process I follow is similar to sample code from the gallery ‘Sample File Upload and Download’

How can I convert that worksheet into a PDF when click on the ‘Download’ button / link ?
Thanks for your any help.