LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Sending print output to PDF file?

Don,
Record a macro whilst you change the printer, to get something like:
Application.ActivePrinter = "Adobe PDF on Ne02:"
However, this code may not be portable, as you cannot be sure the printer is
connected to the same port. Tom has a solution:
http://groups.google.co.uk/group/mic...9c671f b0bd75

Failing that, look for classes that provide VBA with the functionality of
VB's printers collection.

NickHK

"Don Wiss" wrote in message
...
I'm using VBA and xl2002. I have Elements 6.0 installed. I have some
information on "printing" to a PDF file, but at the moment I'm stumped in
just what I should set the Application.ActivePrinter to. Looking on the

web
I find a variety of possibilities. Everything needs to be done with VBA.

Don <www.donwiss.com (e-mail link at home page bottom).



 
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
Using Excel VBA: sending output data table to created .csv file +append Options Mike Excel Discussion (Misc queries) 1 December 10th 11 12:39 PM
How to keep the print output colour setting for the same file? HKY Wong Excel Discussion (Misc queries) 0 February 4th 10 11:26 PM
Incorrect print output Adorable Ali Excel Discussion (Misc queries) 8 December 7th 09 01:34 PM
Open a print output sent to file Ted Johnston Excel Discussion (Misc queries) 0 February 24th 06 10:10 AM
How do I print from a file created from sending a print to a file Ted Johnston Excel Discussion (Misc queries) 1 February 23rd 06 03:10 AM


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