I just changed it to the following and it does it for contact, but the textbox that opens up, you cannot copy the entryid...its just like a picture....is there anything to do so when it opens up the entryid, I can copy the entryid......this does it so far, just need to be able to copy it:
Public Sub GetEntryIDContact()
Dim Session As Outlook.NameSpace
Dim currentExplorer As Explorer
Dim Selection As Selection
Dim currentItem As Object
Dim currentContact As ContactItem
Dim entryID As String
Set currentExplorer = Application.ActiveExplorer
Set Selection = currentExplorer.Selection
'for all items do...
For Each currentItem In Selection
If currentItem.Class = olContact Then
Set currentContact = currentItem
MsgBox "EntryID is " & currentContact.entryID
End If
Next