A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Change Email Account



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 26th 10, 02:15 AM posted to microsoft.public.outlook.program_vba
Jason Zischke
external usenet poster
 
Posts: 2
Default 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
Ads
  #2  
Old March 26th 10, 08:08 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

  #3  
Old March 29th 10, 03:38 AM posted to microsoft.public.outlook.program_vba
Jason Zischke
external usenet poster
 
Posts: 2
Default 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

.

  #4  
Old March 29th 10, 08:28 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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

.

  #5  
Old March 29th 10, 05:11 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default 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


  #6  
Old March 30th 10, 08:00 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I change the email account when sending Invitations to Appointments? Marts Outlook - General Queries 0 July 26th 09 06:03 AM
How do I change the email account that invitations are sent on? Rick Outlook - Calandaring 2 April 3rd 09 01:23 PM
Cannot Change Default Email Account BanTam Outlook - Installation 3 August 24th 07 05:32 AM
Outlook 2002--How do I change account which email account is active? Dana Outlook - General Queries 0 December 26th 06 04:19 PM
Pervent user to change email settings, add new email account Farhan Ahmad Shaikh Outlook - Installation 0 October 12th 06 09:11 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.