Help with 'A Program is trying to access'

  • Thread starter Thread starter stevebuy
  • Start date Start date
S

stevebuy

Would really appreciate help on this one.

Previously accessing MailItem.SenderName or MailItem.To using
objNS.GetDefaultFolder(olFolderInbox).Items was fine.

Now I simply want to do the same item access using
ActiveExplorer.Selection and I keep getting the annoying error "A
Program is trying to access email addresses".

All I want to do is to record the sender whenever an email is selected
and a button is pressed.

Since ActiveExplorer.Selection seems to trigger that annoying message,
is there a better way of doing it.

Many many thanks in advance for any help on the matter.

SteveB.
 
Back
Top