D
David C. Holley
I've figured out that the following code can be used to change the
default printer to a specific printer and then backagain using
strOldPrinter.
Sub changePrinter(strPrinterName As String)
strOldPrinter = Application.Printer.DeviceName
Application.Printer = Application.Printers(strPrinterName)
End Sub
Now the question at hand is how do I call the Print Dialog Window if I
need the user to select a printer such as when the printer supplied
doesn't exist or is misspelled? I'm assuming that using the window is
essentially the same as the Windows Common Dialog.
David H
default printer to a specific printer and then backagain using
strOldPrinter.
Sub changePrinter(strPrinterName As String)
strOldPrinter = Application.Printer.DeviceName
Application.Printer = Application.Printers(strPrinterName)
End Sub
Now the question at hand is how do I call the Print Dialog Window if I
need the user to select a printer such as when the printer supplied
doesn't exist or is misspelled? I'm assuming that using the window is
essentially the same as the Windows Common Dialog.
David H