Effacer les filtres
Effacer les filtres

Printing an Excel sheet to PDF - Print to filename

3 vues (au cours des 30 derniers jours)
Ziggy Zigg
Ziggy Zigg le 4 Déc 2012
I am trying to use the PrToFileName argument, but it is still asking for a filename to save as. I am using the following code:
hWorksheet.Range('A1:N10').PrintOut(1,1,1,'False','ScanSoft PDF Creator!','True','True','C:\test.pdf');
So the code saves the PDF, but it asks me for the filename instead of taking it from the argument. Am I doing something wrong?
Thanks

Réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by