Article ID: 193243
Article Last Modified on 7/13/2004
*** Begin code example ***
oWord=CREATEOBJECT("Word.Application")
dlg = oWord.Dialogs(97) && Open printer setup dialog box in Word.
WITH dlg
.Show
ENDWITH
oWord.Quit
*** End code example ***
When the code executes, a Printer Setup dialog box appears that contains
the current Windows printers. From this dialog box, you can reset the
current default printer. After choosing the printer, Word briefly appears
but then closes.
Additional query words: kbVFp600 kbVFp500a kbOLE
Keywords: kbhowto kbcode KB193243