Hello to all,
These 2 macros to print to PDF, you can merge them?
thanks in advance.Please Login or Register to view this content.
max max
Hello to all,
These 2 macros to print to PDF, you can merge them?
thanks in advance.Please Login or Register to view this content.
max max
Hello max_max,
I would keep them as they are for easy editing if needed, and just use the First Macro as shown below:
Please Login or Register to view this content.
Regards.
Please consider:
Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
Application.ActivePrinter = "PDFCreator su Ne00:" '<<< errore qui / error here
Please Login or Register to view this content.
Hi max_max,
Does Sub stampa_PDF_2() 'lavoro work if you only use that Code
Hello to all.
I changed the first macro macro does not work.
This macro does not start, perhaps because of erroneous "elseif end if"?
A greeting.Please Login or Register to view this content.
max_max
Hi max_max,
Let us start over.
In Post#1, can you run each sub on its own, and does each one work?
I hope to explain myself, I use google translator.
In post #1 there are two macro.
macro #1 Sub stampa_PDF_1 () 'home / my home
it works at my house and not in my office
macro #2 Sub stampa_PDF_2 () 'office / my office
It works in my office and not at my house
max_max
Thank you, max_max.
How do you activate these Macros, do you use a "Button", or do you select it from the list of Macros?
If the macro is at home the macro for the office is cleared with the apex
In that case try experimenting with the Code like Below;
Please Login or Register to view this content.
Not work:
error here:Please Login or Register to view this content.
Application.ActivePrinter = "PDFCreator su Ne00:" '<<<<<<<<<
macro Sub stampa_PDF_1()
in my home.
There seems to be some confusion here,
According to Post#1 you show;
And in your last Post you show it as:Please Login or Register to view this content.
Please Login or Register to view this content.
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks