Writing a macro

  • Thread starter Thread starter Pete
  • Start date Start date
P

Pete

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
 
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.
 
Back
Top