Link to home
Start Free TrialLog in
Avatar of RogerKMiller
RogerKMiller

asked on

is there an Excel VBA code that will print a worksheet to any .PDF writer?

Is there a way of the VBA macro picking whatever .pdf writer is on a given computer; e.g., if one computer has Adobe, and one Distiller and one Cute can the macro just look for a pdf writer without specifying which one?
ASKER CERTIFIED SOLUTION
Avatar of ragnarok89
ragnarok89

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CSLARSEN
CSLARSEN

Which version of excel are you talking about?
2007 2010 would have a possibility to output pdf directly from the excel object model thus no need for a pdf printer.
Try to record a macro and then save the worksheet in question to pdf and then checkout the recorded code.
Hopefully you can recognize where to alter the code.

cheers
cslarsen
Avatar of RogerKMiller

ASKER

Thanks