ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Default Printer (https://www.excelbanter.com/excel-programming/332889-default-printer.html)

carlito_1985

Default Printer
 

Hi, is there any way to make excel, when it opens to make a printer the
default printer, and when you close it, revert back to initial
printer?
Thanks


--
carlito_1985
------------------------------------------------------------------------
carlito_1985's Profile: http://www.excelforum.com/member.php...o&userid=21390
View this thread: http://www.excelforum.com/showthread...hreadid=382393


NickHK

Default Printer
 
carlito_1985,
OldPrinter=Application.ActivePrinter

Application.ActivePrinter=NewPrinter
.................
Application.ActivePrinter=OldPrinter

NickHK

"carlito_1985"
wrote in message
news:carlito_1985.1r9wqe_1119855909.2991@excelforu m-nospam.com...

Hi, is there any way to make excel, when it opens to make a printer the
default printer, and when you close it, revert back to initial
printer?
Thanks


--
carlito_1985
------------------------------------------------------------------------
carlito_1985's Profile:

http://www.excelforum.com/member.php...o&userid=21390
View this thread: http://www.excelforum.com/showthread...hreadid=382393





All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com