How can I convert excel to PDF with a specific sheet

Hi everyone,

Currently, I am using this command line for convert excel to PDF. But, I want to convert a specific sheet.

soffice.exe --headless --convert-to
pdf C:\FILE_XLS\excel_file_name.xls
–outdir C:\FILE_XLS

Ex: I have 2 sheets and I just want to convert 1 sheet.

Help me, pls.