2000..
'***************************************************************************************************
Dim myOlApp, myNameSpace, myEntity As Object
Set myOlApp = CreateObject("Outlook.Application"

Set myNameSpace = myOlApp.GetNamespace("MAPI"

MsgBox myNameSpace.AddressLists.Count
Set myGAddressList = myNameSpace.AddressLists("Global Address List"

'Set myPAddressList = myNameSpace.AddressLists("Personal Address Book"

'or so on..
MsgBox myGAddressList.AddressEntries.Count
For i = 1 To myGAddressList.AddressEntries.Count
'if in the addreess list are a number of _
adresses (at us 79000) it will be very slow.
Set myEntity = myGAddressList.AddressEntries(i)
If Left(myEntity.Name, 2) = "Ta" Then
MsgBox myEntity.Name
MsgBox myEntity.Address
End If
Next i