Supercharge your PowerPoint Productivity with
If you want to invoke Distiller from VB/VBA, read this PDF from Brook House Digital Publishing Solutions, where you'll also find BatchPrintPDF, PDF Assistant and several interesting-looking plug-ins. If that link doesn't work, try this instead There's also this, from "Jabba the Nut" on the Adobe User to User forums, which is quite similar to the approach outlined in the Brookhouse document above: I have used the following VB code to print an Excel range to an Adobe Acrobat .PDF file. The steps to accomplish this are as follows: 1. Print the range to a postscript file using Acrobat Distiller Make sure that you uncheck the "Do not send fonts to Distiller" option in the Distiller properties. You do this by entering the Distiller properties>>General Tab>>Printing Preferences>>Adobe PDF Settings and uncheck the "Do not send fonts to Distiller" option. You will get an error if you don't do this. In the Excel Visual Basic Editor, make sure you include a reference to Acrobat Distiller. Here is the code.... Private Sub CommandButton1_Click() ' Define the postscript and .pdf file names. ' Print the Excel range to the postscript file ' Convert the postscript file to .pdf End Sub |
Content authoring & site maintenance by |