One of the most interesting function of Microsoft Outlook is the possibility
to link items of Outlook itself (mail, activity, etc., etc.) to conntact
item. This function, not used by most part of Outlook users, offer a lot of
opportunities to improve the quality of your work.
For example, using the
Outlook link option, it's possile to track e-mail, appointment, note,
other contacts byl the activity Tab of contact form.
Another use could be to create a product form from a contact standard
form and link any "product" to supplier contact form.
After, using Word VBA Macro with "Link Contact", link documents to your
customers
Link Contacts utility is an Outlook addin but it could be used like
a library to develop macro VBA in Outlook, Word, ecc
ecc.
La class furnished is associa_contatti.outaddin.
There are two metods:
- associa_contatti.associa to run Link procedure from VB
- associa_contatti.elimina to run the Unlink procedure from VB
The Proprieties are:
associa_contatti.objoutlook outlook.application type
associa_contatti.objinsp outlook.inspector type
associa_contatti.invfld boolean type
associa_contatti.FLDCLI outlook.mapifolder type
A practical example of the use of Link Contacts like library are the
necessary
macros to insert Link and Unlink buttons in the Outlook Item:
Sub ass()
Dim asss As OutAddIn
Set asss = New OutAddIn
asss.invfld = False
Set asss.objOutlook = Application
Set asss.objInsp = Application.ActiveInspector
asss.associa
Set asss = Nothing
End Sub
Sub deass()
Dim asss As OutAddIn
Set asss = New OutAddIn
asss.invfld = False
Set asss.objOutlook = Application
Set asss.objInsp = Application.ActiveInspector
asss.elimina
End Sub
The procedure to activate these two buttons is thefollowing:
1) In Outlook, click on Tools>Macro>Visual Basic Editor
2) In Visual Basic Editor click on Tools>Referals
3) You need to enable Link Contacts library(like in the picture):

4) Insert the code you find in this page in"ThisOutlookSession".
5) Close and save the macro editor.
6) Open an Outlook Item.
7) Right click on the menù bar of the item itself.
8) Choose "Customize".
9) On Comands Tab goto macro and drag the two macros on the item bar.
10) Give to these button the names and theicons you prefer..
Actually i have two project using Link Contacts: one is a CRM procedure
and another is a little software to manage Legal Advocate Studios.
Because my work doesn't give me sufficient time, these two project are
paused from long time.
Somebody want to continue with me in these two projects??