Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't print to adobe acrobat georgef Charts and Charting in Excel 2 July 4th 08 04:52 AM
Excel print to Adobe.pdf Nigel RS[_2_] Excel Programming 1 June 13th 07 03:39 AM
Can only print ~3 pages from Excel to Adobe PDF Timbo Excel Discussion (Misc queries) 2 June 3rd 06 01:17 AM
Print mult worksheets to Adobe John Day Excel Discussion (Misc queries) 2 May 25th 05 03:54 PM
Print to Adobe Acrobat (2 ws to one file) Michael McClellan Excel Programming 2 June 2nd 04 10:10 AM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"