![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: account, default, display, mail, set |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
After much Googling I've learned you can't change the default email account
using VBA. Is there, however, a way to make VBA *display* the name of the default email account -- in a MsgBox, on a status bar, a button caption, etc? Grateful for any clues. ------------ Mark Tangard |
| Ads |
|
#2
|
|||
|
|||
|
In Extended MAPI (C++/Delphi) - use IOlkAccountManager (see
http://msdn.microsoft.com/library/de...asp?frame=true) plugIf you are using VBA, you migth want to look at the RDOSession.Accounts collection in Redemption - see http://www.dimastr.com/redemption/rdo/ /plug Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Mark Tangard" wrote in message ... After much Googling I've learned you can't change the default email account using VBA. Is there, however, a way to make VBA *display* the name of the default email account -- in a MsgBox, on a status bar, a button caption, etc? Grateful for any clues. ------------ Mark Tangard |
|
#3
|
|||
|
|||
|
Thanks, Dmitry. This look like it'll actually lead somewhere.
MT Dmitry Streblechenko wrote: In Extended MAPI (C++/Delphi) - use IOlkAccountManager (see http://msdn.microsoft.com/library/de...asp?frame=true) plugIf you are using VBA, you migth want to look at the RDOSession.Accounts collection in Redemption - see http://www.dimastr.com/redemption/rdo/ /plug Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Mark Tangard" wrote in message ... After much Googling I've learned you can't change the default email account using VBA. Is there, however, a way to make VBA *display* the name of the default email account -- in a MsgBox, on a status bar, a button caption, etc? Grateful for any clues. ------------ Mark Tangard |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default e-mail account does not stay | Tony Girgenti | Outlook - Installation | 2 | June 22nd 06 06:46 PM |
| How do I set up pop3 account to receive mail in a separate folder? | Butcherboy | Outlook - Installation | 3 | May 22nd 06 02:07 PM |
| how do I set up e-mail account | Wendy | Outlook - Installation | 3 | April 13th 06 03:15 AM |
| how to set default ordering of SENT mail | MG | Outlook Express | 5 | April 12th 06 06:07 PM |
| how do i set up a second e.mail account for my partner | GPD | Outlook - Installation | 1 | January 28th 06 01:08 AM |