举报
Func _exceltopdf($excelpath,$pdfpath,$pdfname) Local $oExcel = _ExcelBookAttach($excelpath) with $oExcel.activesheet .exportasfixedformat(0,$pdfpath&$pdfname&".pdf") endwith _ExcelBookClose($oExcel,0) EndFunc
$excel.Worksheets("Sheet1").ExportAsFixedFormat(0,"C:\test.pdf")
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-15 04:28 , Processed in 0.085774 second(s), 14 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.