![]() |
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 |
#5
|
|||
|
|||
![]()
For Outlook VBA macro basics, see http://www.outlookcode.com/d/vbabasics.htm
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Paul T. Swaffer" wrote in message ... I have been trying to implement you program but with my limited expertise I am having a problem with enabling the macro to rum. I know nothing about a macro process or how o get one to execute. I have looked at the help with no luck. Will you advise? Thanks, paul. "Eric Legault [MVP - Outlook]" wrote: You have to "fudge" changing the sending account by automating the clicking of the appropriate toolbar button: Sub ChangeSendingAccount() Dim objCBPU As Office.CommandBarPopup Dim objCBB As Office.CommandBarButton Set objCBPU = ActiveInspector.CommandBars.FindControl(, 31224) 'get Accounts button on Standard toolbar 'Get menu item by name or index number Set objCBB = objCBPU.Controls.Item("&1 Microsoft Exchange Server") 'Set objCBB = objCBPU.Controls.Item(2) objCBB.Execute Set objCBPU = Nothing Set objCBB = Nothing End Sub For a warning message, put it in the Item_Send event. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Paul T. Swaffer" wrote: Have ms outlook automatically change outgoing ISP account based on selected email address. Can I do this with a macro and if so how. Can I at least have a warning message that the ISP account must be change? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help, PLEASE! New ISP and OE will not do OUTGOING e-mails | Colin | Outlook Express | 12 | July 9th 06 03:36 AM |
how to change email address in outlook2003 | [email protected] | Outlook - Using Forms | 0 | June 29th 06 04:54 AM |
Macro to change the outgoing mail server | TeeJii | Outlook and VBA | 1 | May 23rd 06 09:00 PM |
If connected to different ISP providers, outgoing mail servers | Geoff Bird | Outlook - Installation | 1 | January 16th 06 04:56 PM |
how do you change the email address field for all contacts? | Mike Bailey | Outlook - Using Contacts | 1 | January 10th 06 12:15 PM |