G
Guest
I have a macro that prints 10 to 15 different reports. The macro calls a VB
function to set the default printer, then it opens, prints, and closes each
report in turn. Is there a way to modify this macro so it sets the default
printer to Acrobat Distiller, then opens each report, calls a VB function
that prints page one to a specific PDF file whose name and location is the
same every time the report is run, then prints page two to PDF, and so on and
so forth, then closes that report and repeats the same process with the next
report?
And if this can be done, what is the basic syntax for the VB function?
I have looked at various tutorials and examples in these discussion groups
and on the Internet, so I think maybe it can be done. The problem is that I
am learning VB, and the examples and tutorials have a lot of "stuff" in them
I don't need, but I don't know enough VB to delete the unnecessary stuff and
still have the thing work.
Each month, I manually create about 50 PDF files by printing page 1 to PDF,
then page 2, and etc. So any help you can provide in automating this process
would be greatly appreciated!!!!!!
GwenH
function to set the default printer, then it opens, prints, and closes each
report in turn. Is there a way to modify this macro so it sets the default
printer to Acrobat Distiller, then opens each report, calls a VB function
that prints page one to a specific PDF file whose name and location is the
same every time the report is run, then prints page two to PDF, and so on and
so forth, then closes that report and repeats the same process with the next
report?
And if this can be done, what is the basic syntax for the VB function?
I have looked at various tutorials and examples in these discussion groups
and on the Internet, so I think maybe it can be done. The problem is that I
am learning VB, and the examples and tutorials have a lot of "stuff" in them
I don't need, but I don't know enough VB to delete the unnecessary stuff and
still have the thing work.
Each month, I manually create about 50 PDF files by printing page 1 to PDF,
then page 2, and etc. So any help you can provide in automating this process
would be greatly appreciated!!!!!!
GwenH