LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default PDF excel document

I created a Macro to PDF certain pages of an Excel sheet using the following
code

ActiveWindow.View = xlPageBreakPreview
Range("A1:G86,A172:G263").Select
Range("A172").Activate
Application.ActivePrinter = "Adobe PDF on Ne06:"
ActiveWindow.Selection.PrintOut Copies:=1, ActivePrinter:= _
"Adobe PDF on Ne06:", Collate:=True
ActiveWindow.View = xlNormalView
Range("B7").Select

A week later when I went to use the macro it failed as the Printer is now:

Adobe PDF on Ne08

How can I set the macro to always find the "Adobe PDF" printer no matter
what situation or "Ne" that it sits on?.

Iam currently using Adobe Pro 6. As a matter of interest, are there any
versions of Adobe writer that allow you to PDF a selection of cells whether
contiguous or non-contiguous?

Any assistance would be greatly appreciated.


 
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
change excel document into word document mrsb Excel Discussion (Misc queries) 6 August 28th 07 12:58 PM
convert excel document to word document (not a picture) frendabrenda1 Excel Discussion (Misc queries) 2 October 6th 06 03:55 PM
How to create a formatted 'readable' document based on Excel document? [email protected] Excel Discussion (Misc queries) 0 June 23rd 06 06:09 PM
I lost a document in excel, the whole document disappeared Excel Document Gone SSW Excel Discussion (Misc queries) 1 November 18th 05 01:25 AM
Can you transform an excel document into a word document? Tammy Excel Discussion (Misc queries) 1 May 19th 05 03:23 PM


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