Address lists

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I'm using Outlook Redemption to bypass the security
warning message when I access the names in the address
list for all users. Heres my code

set AddressList = CreateObjec("Redemption.AddressLists")
AddressList = Outlook.Session.AddressLists.Item("All
Users")
msgbox AddressList.AddressEntries.Item(1).Name

It still displays the security warning.

Is there a way to bypass the warning using redemption for
accessing address lists?
 
You are creating a Redemption AddressLists collection and trying to assign
it with a single AddressList, which is a type mismatch error.

Dim rdmAddressLists As Redemption.AddressLists
Dim rdmAddressList As Redemption.AddressList

Set rdmAddressLists = CreateObject("Redemption.AddressLists")
rdmAddressList.Item = Outlook.Session.AddressLists.Item("All Users")
MsgBox rdmAddressList.AddressEntries.Item(1).Name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Outlook Security Warnings 7
Accessing folder 'Other Contacts' 1
How to remove an addresslist in outlook ? 3
Need help 0
contacts list 1
Redemption Objects 1
Redemption & voting options 4
New AddressList ? 2

Back
Top