Stuart,
Thank you, works great! Two more questions...
1. When I bring this up, it opens up behind the access window, any ideas on
how to bring it up in front?
2. Do you know how to bring up the FIND PRINTER dialog box?
Thanks,
Vanya
> >I have used things from these posts to bring up the default Printer Dialog
> > box so that a user can choose a printer for the report. I also have built
[quoted text clipped - 25 lines]
>
> will bring up the Add Printer Wizard.
Stuart McCall - 15 Jun 2008 01:49 GMT
> Stuart,
>
[quoted text clipped - 9 lines]
>
> Vanya
<SNIP>
I'm afraid it's no to both questions. Perhaps someone else can jump in?
Ivan Grozney - 27 Jun 2008 21:15 GMT
If you change the command to
Shell "rundll32.exe printui.dll, PrintUIEntry /il", vbNormalFocus
it will set focus to the add printer wizard.
> > Stuart,
> >
[quoted text clipped - 12 lines]
>
> I'm afraid it's no to both questions. Perhaps someone else can jump in?
Stuart McCall - 28 Jun 2008 01:45 GMT
> If you change the command to
>
> Shell "rundll32.exe printui.dll, PrintUIEntry /il", vbNormalFocus
> it will set focus to the add printer wizard.
Already tested that. Doesn't do it for me...
Win XP Pro SP2 here. How about you?
Ivan Grozney - 30 Jun 2008 15:36 GMT
Stuart,
I have XP Pro with SP3. Running Access 2003.
> > If you change the command to
> >
[quoted text clipped - 4 lines]
>
> Win XP Pro SP2 here. How about you?
Stuart McCall - 30 Jun 2008 22:09 GMT
> Stuart,
>
> I have XP Pro with SP3. Running Access 2003.
Well in that case the only difference between us is SP3. Perhaps someone
else with SP2 could try it and confirm/deny my result in this thread...