from that location we are taking it to our desired location. When we select PDF as a printer we have selected a default location for converted PDF. In main code some cut paste operations are seen. Its just an idea given same code can be written in a module where print operation is going on. Code is as follows Dim sCurrentPrinter As StringĪctivePrinter = "Foxit Reader PDF Printer" SaveChanges:=wdDoNotSaveChangesįoxitPrint2PDF is macro used to set Foxit PDF Printer as default printer and then reset it. Kill "C:\Users\shena\Documents\"
0 Comments
Leave a Reply. |