xls2pdf.m

Convert XLS or XLSX file to PDF
523 descargas
Actualizado 29 jul 2014

Ver licencia

Convert a xls or xlsx specific sheet to pdf file.
You must specify the full path for both files.
It requires MS Office 2007 or above installed, with capacity for saving to PDF and XPS.
Example:

xlsFile = 'C:\excelsps.xlsx';
sheet = 1; % Sheet name is also valid
pdfFile = 'C:\pdfdoc.pdf';
xls2pdf(xlsFile,sheet,pdfFile);

Tested on Win8 (64 bits) with Office 2010 and Matlab R2012b.

Citar como

Daniel Pereira (2024). xls2pdf.m (https://www.mathworks.com/matlabcentral/fileexchange/47309-xls2pdf-m), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre String Parsing en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Added comments and two outputs indicating the successful completion of the process.

1.0.0.0