View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Print to PDF code for both Cute PDF and Adobe

Refer the below link..

http://www.erlandsendata.no/english/...tchangeprinter

If this post helps click Yes
---------------
Jacob Skaria


"Neall" wrote:

I have a Print to PDF button which works great and renames the file to a
populated cell, but I want the code to also work with Adobe.

This is what I have


'Application.ActivePrinter = "CutePDF Writer on CPW2:"
'ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
'"CutePDF Writer on CPW2:", Collate:=True

Any suggestions?

Thanks in advance
--
Neall