Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Multiple worksheet named ranges to PDF

Hello
I have been given the task of exporting multiple named ranges from different
sheets to a pdf file.

I can do it from a single sheet with many ranges using the following code

Range("A8:G19,A83:N96").Select
Selection.ExportAsFixedFormat Type:=xlTypePDF, FileName:= _
"c:\filename.pdf" _
, Quality:=xlQualityStandard, IncludeDocProperties:=True,
IgnorePrintAreas _
:=False, OpenAfterPublish:=True

Could anyone point me in the right direction for ranges on differnt sheets.
Thanks
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
Named Ranges - Multiple Worksheets Josh O. Excel Discussion (Misc queries) 3 April 1st 09 07:31 PM
deleting multiple named ranges april Excel Discussion (Misc queries) 1 April 15th 08 07:03 PM
Multiple Named Ranges in the Same Column David Excel Worksheet Functions 2 May 9th 07 12:48 AM
creating a VBA variabel from multiple named worksheet ranges brachistochrone[_4_] Excel Programming 2 June 1st 06 10:20 AM


All times are GMT +1. The time now is 11:23 AM.

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"