Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Change Email Account (http://www.outlookbanter.com/outlook-vba/101332-change-email-account.html)

Jason Zischke March 26th 10 02:15 AM

Change Email Account
 
Hi All

I have a couple of email accounts in my outlook. I've created some vba code
to check my incoming mail and to automatically send an email back and I want
it to use one of my email accounts only, however I have been unable to find
the code to change this.

Any help would greatly be appreiciated

Jason

Michael Bauer [MVP - Outlook] March 26th 10 08:08 AM

Change Email Account
 


What version of Outlook?

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Thu, 25 Mar 2010 19:15:01 -0700 schrieb Jason Zischke:

Hi All

I have a couple of email accounts in my outlook. I've created some vba

code
to check my incoming mail and to automatically send an email back and I

want
it to use one of my email accounts only, however I have been unable to

find
the code to change this.

Any help would greatly be appreiciated

Jason


Jason Zischke March 29th 10 03:38 AM

Change Email Account
 
Hi Michael

Thanks for your reply. I am using outlook 2003.

Jason

"Michael Bauer [MVP - Outlook]" wrote:



What version of Outlook?

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Thu, 25 Mar 2010 19:15:01 -0700 schrieb Jason Zischke:

Hi All

I have a couple of email accounts in my outlook. I've created some vba

code
to check my incoming mail and to automatically send an email back and I

want
it to use one of my email accounts only, however I have been unable to

find
the code to change this.

Any help would greatly be appreiciated

Jason

.


Michael Bauer [MVP - Outlook] March 29th 10 08:28 AM

Change Email Account
 


Outlook 2003 doesn't support that. You can achieve it with the Redemption
(www.dimastr.com). There see the RDOMail object and the Account property.
Examples are available on the website.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Sun, 28 Mar 2010 19:38:01 -0700 schrieb Jason Zischke:

Hi Michael

Thanks for your reply. I am using outlook 2003.

Jason

"Michael Bauer [MVP - Outlook]" wrote:



What version of Outlook?

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Thu, 25 Mar 2010 19:15:01 -0700 schrieb Jason Zischke:

Hi All

I have a couple of email accounts in my outlook. I've created some vba

code
to check my incoming mail and to automatically send an email back and I

want
it to use one of my email accounts only, however I have been unable to

find
the code to change this.

Any help would greatly be appreiciated

Jason

.


JP[_3_] March 29th 10 05:11 PM

Change Email Account
 
Michael,

In Outlook 2003 can't you use the FindControl method of the
CommandBars object to find the account selector? Something like this:

http://www.outlookcode.com/codedetail.aspx?id=889

--JP

On Mar 29, 3:28*am, "Michael Bauer [MVP - Outlook]"
wrote:
Outlook 2003 doesn't support that. You can achieve it with the Redemption
(www.dimastr.com). There see the RDOMail object and the Account property.
Examples are available on the website.

--
Best regards
Michael Bauer - MVP Outlook
* Category Manager - Manage and share your categories:
* SAM - The Sending Account Manager:
* http://www.vboffice.net/product.html?lang=en

Am Sun, 28 Mar 2010 19:38:01 -0700 schrieb Jason Zischke:



Hi Michael


Thanks for your reply. I am using outlook 2003.


Jason



Michael Bauer [MVP - Outlook] March 30th 10 08:00 AM

Change Email Account
 

As a heavy user of the Redemption I wouldn't do it that way. But if the
Inspector with the Commandbar is available it should work.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
http://www.vboffice.net/product.html?lang=en


Am Mon, 29 Mar 2010 09:11:49 -0700 (PDT) schrieb JP:

Michael,

In Outlook 2003 can't you use the FindControl method of the
CommandBars object to find the account selector? Something like this:

http://www.outlookcode.com/codedetail.aspx?id=889

--JP

On Mar 29, 3:28*am, "Michael Bauer [MVP - Outlook]"
wrote:
Outlook 2003 doesn't support that. You can achieve it with the Redemption
(www.dimastr.com). There see the RDOMail object and the Account property.
Examples are available on the website.

--
Best regards
Michael Bauer - MVP Outlook
* Category Manager - Manage and share your categories:
* SAM - The Sending Account Manager:
* http://www.vboffice.net/product.html?lang=en

Am Sun, 28 Mar 2010 19:38:01 -0700 schrieb Jason Zischke:



Hi Michael


Thanks for your reply. I am using outlook 2003.


Jason




All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com