Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VBA access current contact?

44 views
Skip to first unread message

Wood@discussions.microsoft.com Steve Wood

unread,
Nov 25, 2009, 8:48:01 AM11/25/09
to
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

unread,
Nov 29, 2009, 1:18:14 PM11/29/09
to
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
-
"Steve Wood" <Steve Wo...@discussions.microsoft.com> wrote in message
news:E3395EE1-9DAB-41AE...@microsoft.com...

0 new messages