Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I need to generate a series of individual prints from a spreadsheet, going to
a PDF printer, and giving each one a different filename. I have set the macro to do this, but it opens a PDFSaveAs window and waits for a filename. Unfortunately the program is so fast and the PDF printer so slow that they get out of seuqence and I dont know where I am in the sequence of reports! How do I pass the individual filenames to the print command in the macro? Obviously I need a propoerty name to set, but I cannot guess it. I have tried PrToFileName as the pop up box suggested that, but it doesn't work. Doesn't even capitalise the property name when I type it. ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, prtofilename:="XYZ" Where do I find all the property/variable names, please? RG |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem Editing Macro in Shared Excel File | Excel Discussion (Misc queries) | |||
Problem Editing Macro in Shared Excel File | Excel Discussion (Misc queries) | |||
open file (as variable) from macro | Excel Discussion (Misc queries) | |||
Opening a file with a Macro | Excel Discussion (Misc queries) | |||
Macro did not run after download file from net | Excel Worksheet Functions |