http://qs321.pair.com?node_id=923287


in reply to Using Win32::OLE and Excel - Tips and Tricks

Thanks for the informative post. I'd like to add that, for Excel, if you want to save your output in PDF format, you need to use "57" in a SaveAs call:

$Book->SaveAs($pdf_file_name,57);

This will save the first sheet as PDF. Does anyone know how to tell Excel to save the entire workbook as PDF?

TIA,

Bill