Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To use unoconv to transform a certain sheet in a document, you need to specify the sheet number or name explicitly in the command line. Here is an example:

unoconv -f pdf -e SheetName=MySheet -o output.pdf input.xlsx

In this example, we are converting the Excel file input.xlsx to PDF format and specifying that we want to extract the sheet named MySheet using the -e option. The output will be saved in output.pdf.

You can also specify the sheet number using -e SheetNo=1 instead of -e SheetName=MySheet, where 1 is the sheet number (starting from 1).

Note that the exact syntax of the command may vary depending on your system and the version of unoconv you are using. Please consult the unoconv documentation or use the --help option for more information.