drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and thanks in advance
If I use:
But If wActPrinter <>"" and is not connected, because for eg I am using a laptop in a Taxi and I do not have the possibility to print.
How can I get a message
Something like:
My actual problem is:
If wActPrinter <> "" I do not get any error because I am sending copies to the queue of my printer
If I use:
Code:
Dim wActPrinter As String: wActPrinter = Application.ActivePrinter
If wActPrinter ="" Then 'I can request to install one, no problem
But If wActPrinter <>"" and is not connected, because for eg I am using a laptop in a Taxi and I do not have the possibility to print.
How can I get a message
Something like:
Code:
if Application.ActivePrinter not Connected then MsgBox "No printer Connected"
My actual problem is:
If wActPrinter <> "" I do not get any error because I am sending copies to the queue of my printer
Last edited: