Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Using Printout with Adobe PDF as the printer

Try:

Sub PDF_Printer()
' PDF_Printer Macro
Application.ActivePrinter = "Name of Printer Adobe ?:" ' <=== Change to
suit
ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= "Name of
Printer Adobe PDF ?:" ' <= Change to suit
End Sub


Corey....

"Kou Vang" wrote in message
...
I am trying to print an excel spreadsheet to PDF using the Adobe PDF
printer.
Here is my code. Thanks.

Option explicit

Worksheets("vcc expansion").Activate

Dim PrintStr As String
PrintStr = "N:\TrafMon\TFA_Section\VC DATA
FORECAST\AcroMaps\ESAL06\SitesPDF\& sitenum"

ActiveSheet.PrintOut previews:=False, ActivePrinter:="Adobe PDF",
printtofile:= _
True, prtofilename:=PrintStr



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
printout background printer Mohammad Fraij Excel Discussion (Misc queries) 2 October 21st 09 05:16 PM
excel printout not the same as preview for Oce TDS320 PS printer Rob Excel Discussion (Misc queries) 1 June 25th 07 08:05 PM
howto send host fonts to adobe pdf printer Abraham Andres Luna Excel Programming 3 March 7th 06 08:16 PM
how do i elarge a printout of worksheet to cover printer paper [email protected] Excel Worksheet Functions 1 February 17th 06 12:16 AM
PrintOut with Adobe Acrobat 6.0 Tom Excel Programming 1 January 16th 04 06:33 PM


All times are GMT +1. The time now is 12:38 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"