V
Victor Delta
Victor Delta said:Have done some more experimentation and believe I have now found the
problem - and it's very interesting.
To aid clarity lets call the two printers Printer A (normal default) and
Printer Green. Once Outlook is open, if you change the default printer
(either manually or via your macro with the break point on the "For i =
..." line) if you hover over the Print button at the top of any email, you
will see the name of the new printer (in my case Printer Green). This
looks very promising...
However, there's a big gotcha! If you now open the Outlook Print dialogue
box (Ctrl +P), although you will see the little black tick against the
name of the new default printer, the original printer (Printer A) is
actually still selected (highlighted in blue). So if you now print, either
by clicking the button or running the second part of your code, the email
goes to the original printer. I guess this is what Ken was telling us all
along!
If only there were a way to 'refresh' the printer selection to the new
default printer it would work but, so far, I haven't thought of one. Any
ideas?
The only surprise now is that you've managed to make it work at your end.
I've been using Windows XP with Outlook XP/2002 and, on another machine,
Outlook 2003. Same as you?
V
Just another thought... If it's really not going to be possible to
automatically send emails to Printer Green, then a poor 'second best'
solution would be to only print the first page. From googling on this, I
gather there is no simple way to do this either, unless someone knows
differently...?
V