找了一个第三方控件doPDF v7,但是导出时,会弹出一个窗口,非常烦人,不知道怎么弄掉它?有朋友试过吗?
有没有办法不让它弹出来,直接就导出pdf呢?以下是相关的宏Sub Macro1()
'
' Macro1 Macro
' 宏在 2013-10-21 由 Microsoft 录制
'
ActivePrinter = "doPDF v7"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End Sub
有没有办法不让它弹出来,直接就导出pdf呢?以下是相关的宏Sub Macro1()
'
' Macro1 Macro
' 宏在 2013-10-21 由 Microsoft 录制
'
ActivePrinter = "doPDF v7"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End Sub
所以才想用这个笨办法的,先生成word再转pdf