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

Writing a macro



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 25th 07, 11:30 PM posted to microsoft.public.outlook.program_vba
Pete
external usenet poster
 
Posts: 9
Default Writing a macro

I am new to coding macros and would appreciate any help writing one.

I want to write a macro which would change the default email account and the
order in which address books are listed in the dropdown list in Select Names
dialog box.

I have no idea how to do this, perhaps someone will point me in the right
direction.

Many thanks


Ads
  #2  
Old July 25th 07, 11:34 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Writing a macro


No, only older Office applications like Word and Excel have macro recorders.

Changing the address book display order is not something that can be done with Outlook VBA. If it can be done at all, it probably would take a third-party DLL or code written in C++ with a low-level API from Microsoft. Changing the default mail account would normally be done with a .PRF file or the same kind of approach as the address book issue.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Pete" wrote in message ...
I am new to coding macros and would appreciate any help writing one.

I want to write a macro which would change the default email account and the
order in which address books are listed in the dropdown list in Select Names
dialog box.

I have no idea how to do this, perhaps someone will point me in the right
direction.

Many thanks


 




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
I need help writing a code.... shawn Outlook and VBA 1 June 28th 07 07:34 AM
Writing a macro in Outlook 2007 Tammy Outlook - General Queries 2 May 8th 07 04:47 PM
Outlook macro abends but Word macro runs successfully Jreue Outlook and VBA 0 December 14th 06 12:55 AM
Call macro stored in Excel workbook from Outlook's macro Gvaram Outlook and VBA 5 October 4th 06 07:26 AM
writing a macro to throw emails that contain pictures to trash windows314 Outlook and VBA 1 April 30th 06 10:12 AM


All times are GMT +1. The time now is 07:06 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.