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.
引用
Daniel Pereira (2023). xls2pdf.m (https://www.mathworks.com/matlabcentral/fileexchange/47309-xls2pdf-m), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で String Parsing についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!