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

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