Is it possible to add / remove members of an Exchange Distribution List using VBA?
I can loop through members using the following code, but I can't seem to add new ones.
Dim olApp As New Outlook.Application 'Start instance of Outlook
Dim olNS As Outlook.NameSpace 'Reference the Outlook namespace and use MAPI
Set olNS = olApp.GetNamespace("MAPI") 'Open the AddressList you want to use
Dim olAddressList As Outlook.AddressList
Set olAddressList = olNS.AddressLists("Global Address List")
olAddressList.AddressEntries.Item(DLList).Members.Item (1).name