Hello!
I have 2 accounts in Outlook2003
Is any way to check before sending witch account to use?
etc. contact group or contact
Manually i can change the account if writing mail but it's boring
Hello!
I have 2 accounts in Outlook2003
Is any way to check before sending witch account to use?
etc. contact group or contact
Manually i can change the account if writing mail but it's boring
I haven't tested it, but I think you would just logon to the other account from within Outlook, like this
[vba]
Dim oNameSpace As Object
Set oNameSpace = Application.GetNameSpace("MAPI")
oNameSpace.Logon , "password", True
[/vba]
Originally Posted by Cass
Best every reason to write a macro that I've heard.
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!