Hello,

We have Word 2003. I'd like to create a macro that would pull up a userform
and allow my users to choose which printer they want. I know some visual
basic and I know how to create the userform.

What I need is the code to be able to select the printer.

We have HP Laserject printers.

Thanks!

RE: Macro to diplay printer list by davelett

davelett
Fri Feb 10 14:22:28 CST 2006

Hi,

Any reason not to use the built-in dialog?

Dialogs(wdDialogFilePrint).Show

HTH,
Dave

"LDMueller" wrote:

> Hello,
>
> We have Word 2003. I'd like to create a macro that would pull up a userform
> and allow my users to choose which printer they want. I know some visual
> basic and I know how to create the userform.
>
> What I need is the code to be able to select the printer.
>
> We have HP Laserject printers.
>
> Thanks!

Re: Macro to diplay printer list by Graham

Graham
Sat Feb 11 02:16:21 CST 2006

Even simpler - if multiple printers are available why not just add a
printers toolbar using the method at http://www.gmayor.com/fax_from_word.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

LDMueller wrote:
> Hello,
>
> We have Word 2003. I'd like to create a macro that would pull up a
> userform and allow my users to choose which printer they want. I
> know some visual basic and I know how to create the userform.
>
> What I need is the code to be able to select the printer.
>
> We have HP Laserject printers.
>
> Thanks!