Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Printing to PDF question


The below works (thanks to Ron De Bruin) - but is there a way to print a
range without making the sheet that it is in active?

Sub CreatePDFRates()
shtAssum10.Select
Dim FileNameStr As String
FileNameStr = "\\Spipfile04\dowb1$\2008\annuity\Individual_Illus trator\"
& shtAssum.Range("I39") & ".pdf"
shtAssum10.Range("B1:N35").ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:=FileNameStr, _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
OpenAfterPublish:=False
End Sub

--
Wag more, bark less
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
Printing Question da617 Excel Discussion (Misc queries) 2 November 9th 08 06:49 PM
printing question Mike Excel Discussion (Misc queries) 2 September 18th 06 08:35 PM
Printing Question John M Excel Programming 1 September 12th 05 06:42 PM
Printing Question Greegan Excel Worksheet Functions 0 September 2nd 05 03:05 AM
Printing Question spartanmba Excel Discussion (Misc queries) 1 January 27th 05 09:57 PM


All times are GMT +1. The time now is 09:05 PM.

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

About Us

"It's about Microsoft Excel"