Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
printout background printer | Excel Discussion (Misc queries) | |||
excel printout not the same as preview for Oce TDS320 PS printer | Excel Discussion (Misc queries) | |||
howto send host fonts to adobe pdf printer | Excel Programming | |||
how do i elarge a printout of worksheet to cover printer paper | Excel Worksheet Functions | |||
PrintOut with Adobe Acrobat 6.0 | Excel Programming |