I think Adobe PDF is the local name for the printer and Ne01 describes the
network name for the same resource.
Tom Ogilvy posted some resources to check out.
http://www.microsoft.com/office/comm...xp=&sloc=en-us
If you can return a list (or array) of all of the printers, I would think
you could loop through the listing the identify which one has "Adobe PDF" in
the name (check VBA InStr function). I only have one printer so I can't
fully test the macro's suggested, but the one that uses WScript.Network
(which you should have seen in Tom's old posts) seemed to work okay.
At the very worst, you could have the user change the activeprinter using
Application.Dialogs(xlDialogPrinterSetup).Show
"salut" wrote:
When I was trying to print to PDF file, I need to set the printer as "Adobe
PDF on Ne01", could anybody tell me what this "Ne01" means? And how can I get
that kind of information before I use them in the code? Because on some other
computers, it is "Ne00" instead of "Ne01".
Thanks a lot!