![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I have two email accounts in Outlook 2003. I know about the Accounts
drop list in new emails. But is it possible to create a few macros so that I end up with two buttons where each runs a macro that starts a new email using a specific account? One button would start a new email using account 1 and the other button would start a new email using account 2. If so, could someone please give me some pointers? Thanks. |
#2
|
|||
|
|||
![]()
Google'ing this, I still can't find a clear cut answer to this. I find
no complete code that works. So, I built two routines using Sendkeys. Sub Acct02SndKeys() SendKeys "^+m" SendKeys "%n" SendKeys "2" End Sub Sub Acct01SndKeys() SendKeys "^+m" SendKeys "%n" SendKeys "1" End Sub I then made the macro buttons for a toolbar and it seems to work fine. Any dangers in using this or is there truly a better way? Thanks. c mateland wrote: I have two email accounts in Outlook 2003. I know about the Accounts drop list in new emails. But is it possible to create a few macros so that I end up with two buttons where each runs a macro that starts a new email using a specific account? One button would start a new email using account 1 and the other button would start a new email using account 2. If so, could someone please give me some pointers? Thanks. |
#3
|
|||
|
|||
![]()
Am 31 Jul 2006 10:40:11 -0700 schrieb c mateland:
Here´s a sample how to use the commandbars for setting the account: http://www.outlookcode.com/codedetail.aspx?id=196 -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- I have two email accounts in Outlook 2003. I know about the Accounts drop list in new emails. But is it possible to create a few macros so that I end up with two buttons where each runs a macro that starts a new email using a specific account? One button would start a new email using account 1 and the other button would start a new email using account 2. If so, could someone please give me some pointers? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook macro question | c mateland | Outlook - General Queries | 1 | August 22nd 06 11:06 PM |
outlook macro | matt | Outlook and VBA | 1 | January 30th 06 01:30 PM |
VB and outlook macro need help | jbullington | Outlook and VBA | 1 | January 10th 06 03:22 PM |
an outlook2000 macro programming question..... | Alont | Outlook - General Queries | 0 | January 8th 06 03:14 AM |