Discussion:
VBA access current contact?
(too old to reply)
Steve Wood
2009-11-25 13:48:01 UTC
Permalink
Version: BCM 2007
Platform: Windows XP

Is it possible, via VBA, to access the currently displayed contact?

I can add a macro to the Contacts form but have no idea what to do next.
I'd like to - if possible - get access to displayed contact so that my macro
can perform a task related to it. I guess all I need is the EntityID or
something as I can get the remaining data directly from the database
Dmitry Streblechenko
2009-11-29 18:18:14 UTC
Permalink
Use Application.ActiveInspector.CurrentItem.
If there are no open contacts, ActiveInspector will be null.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
Post by Steve Wood
Version: BCM 2007
Platform: Windows XP
Is it possible, via VBA, to access the currently displayed contact?
I can add a macro to the Contacts form but have no idea what to do next.
I'd like to - if possible - get access to displayed contact so that my macro
can perform a task related to it. I guess all I need is the EntityID or
something as I can get the remaining data directly from the database
Continue reading on narkive:
Loading...