"Run-time error '9': Subscript out of range" error message when you use Visual Basic for Applications to search for and list available printers in Visio (293921)
The information in this article applies to:
- Microsoft Visio 2002 Standard
- Microsoft Visio 2002 Professional
This article was previously published under Q293921 SYMPTOMS
When you use Microsoft Visual Basic for Applications to search for and list available printers, you receive the following error message:
Run-time error '9':
Subscript out of range
CAUSE
No printer is defined on your computer.
RESOLUTION
If a local or network printer is available, you can add a printer to your system configuration. To do this, follow these steps:
- Click Start, point to Settings, and then click Printers.
- In the Printers folder, double-click Add Printer, and then follow the instructions in the wizard to install a printer.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbprinters kbtshoot kbbug kberrmsg kbnofix KB293921 |
---|
|