Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
VB routine to print to PDF?
I'm trying to write a routine that will print a pdf page. I need to make
this a routine because I have to loop through a large set of data and print a pdf page for each row of the data. My typical method for writing a routine is to record a macro and then modify the module I created. Unfortunately, when I print to pdf using acrobat distiller, the macro does not record all the steps. In particular is does not collect the filename or location. Here is the macro I created when I recorded my keystrokes: Sub pdfPrint() ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True End Sub I need to specify the filename and location in the macro (different for each row). Maybe I should be using another tool for creating the pdf files? Any help would be appreciated. Ecxel 2003/Acrobat Distiller 5 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
anyone has a routine to print envelopes from an existing XLS addr | New Users to Excel | |||
Sort Routine | Excel Discussion (Misc queries) | |||
Print routine needed for code | Excel Worksheet Functions | |||
How to create a routine | Excel Discussion (Misc queries) | |||
Solver VBA routine | Excel Discussion (Misc queries) |