Reconfigure the button "New" email

  • Thread starter Thread starter Roland Bengtsson
  • Start date Start date
R

Roland Bengtsson

I want to reconfigure my Outlook 2002 so when press the button "New"
email I got a dialog there I can choose what email-account I want to
use. I'm surprised that this feature is not built in when there is
more than one email-account. I suppose the only possibility is to use
a script with VBA? I have some years experience of C-programming, but
I'm almost a beginner with VBA. How will I start?

/Roland
 
You would have to make the default button invisible and create and
code your own button. You can't reprogram the effects of a built-in
button.

You realize you don't need code to select a sending account in Outlook
2002 or 2003? You can do that from an open email message when you are
ready to send it.
 
Roland-

To pick up where Ken left off:

Yes, the capability you want IS built in to OUtlook. When
you're writing the e-mail, look at the right end of the
SEND button and you'll see a little black triangle.
Clicking on this arrow AND NOT ON THE SEND BUTTON ITSELF,
will let you choose which account to send the masil from.

-Andrew
=====================================
 
Ken Slovak - said:
You would have to make the default button invisible and create and
code your own button. You can't reprogram the effects of a built-in
button.

You realize you don't need code to select a sending account in Outlook
2002 or 2003? You can do that from an open email message when you are
ready to send it.

Yes, I realize this, and that's the solution I do now. But it's easy
to forget... That's why I want a dialog instead so I can't miss it:-)
 
You could iterate the CommandBars collection of the Explorer's
"Standard" CommandBar (toolbar) and find the name or names of the
controls you want to click for that account or accounts. Once you have
them as CommandBarButton objects you can call their Execute methods.

See the utility code at www.slipstick.com for iterating the
CommandBars collection to get an idea of what you have to do.




Roland Bengtsson said:
"Ken Slovak - [MVP - Outlook]" <[email protected]> wrote in message
You would have to make the default button invisible and create and
code your own button. You can't reprogram the effects of a built-in
button.

You realize you don't need code to select a sending account in Outlook
2002 or 2003? You can do that from an open email message when you are
ready to send it.

Yes, I realize this, and that's the solution I do now. But it's easy
to forget... That's why I want a dialog instead so I can't miss
it:-)
 
Back
Top