关于这个问题,我有几个问题:
如果我使用
。
发布于 2022-08-27 09:34:41
您可以直接将Excel工作表保存为PDF格式。试着在宏下面。更改C:\
以将文件保存到所需位置。
Sub SavePDF()
Dim pdfName As String
pdfName = "MyFileName"
Sheets("MyPDFsheet").ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\" & pdfName & ".pdf", Quality:= _
xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=True, _
OpenAfterPublish:=False
End Sub
发布于 2022-08-27 22:04:53
( A)将一个重复驱动程序设置为一个端口,作为监视文件夹中的固定文件名。见https://stackoverflow.com/a/69169728/10802527和Print to PDF with powershell while suppressing the "Save As" Prompt
(
。
https://stackoverflow.com/questions/73509769
复制相似问题