Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Default printer
Is there a way to check the current default printer, so
that if I use another printer (e.g. PDF writer), I can reset the original one using Application.ActivePrinter = "...." TIA peterG |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Default printer
Peter,
You can't get or set the name of the default printer using Excel VBA code, but it can be done using the GetDefaultPrinter and SetDefaultPrinter routines that utilize API calls shown in Microsoft Knowledge Base Article 246772 -- Dennis Eisen |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Default printer
You can't get or set the name of the default printer
You can Sub nameprinter() MsgBox Application.ActivePrinter End Sub And you can set it like this Application.ActivePrinter = "hp officejet k series on Ne00:" -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "DennisE" wrote in message ... Peter, You can't get or set the name of the default printer using Excel VBA code, but it can be done using the GetDefaultPrinter and SetDefaultPrinter routines that utilize API calls shown in Microsoft Knowledge Base Article 246772 -- Dennis Eisen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Default Printer | Excel Discussion (Misc queries) | |||
members on my network printer not able to print to default printer | Excel Discussion (Misc queries) | |||
Default printer setting | Excel Discussion (Misc queries) | |||
Printing from default printer | Excel Discussion (Misc queries) | |||
default printer | Excel Programming |