|
发表于 2018-11-19 14:53:44
|
显示全部楼层
山东省日照市
打印指定页呢 我给看看我的代码
wdapp.方法 (“PrintOut”, 真, , “wdPrintRangeOfPages”, , , , “wdPrintDocumentContent”, 1, “1-5”, “wdPrintAllPages”, , 真, “”, “ActivePrinterMacGX”, 假, 0, 0, 0, 0)
一下是宏录制
Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, Item:=wdPrintDocumentContent, Copies:=1, Pages:="1-5", PageType:=wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0 |
|