Automatically enable journal tracking for new contacts

  • Thread starter Thread starter Robert@Beck
  • Start date Start date
R

Robert@Beck

NOTICE: The extent of my VBScript knowledge is how to get to and open the
VBScript editor window--- Thats it... :) so if this ends up being a script
answer a walk through of what i need to do would be of help, thans everyone.
 
You don't really need code for that. Just right-click on the QAT in an open
contact item and select to customize the QAT. Select the Commands Not in the
Ribbon group and scroll down to Record in Journal. Add that to the QAT. Now
you have a one step button to enable journaling on any contact.
 
OK, on reviewing your post I see that won't do what you want. You will have
to modify the QAT to add a macro though.

Use Alt+F11 to open the VBA. In This OutlookSession put this code:

Sub AddToJournal()
Application.ActiveInspector.CurrentItem.Journal = True
Application.ActiveInspector.CurrentItem.Save
End Sub

That will work although since there's no error checking you should only use
the macro when a contact item is open and is the active window.
 
Ken,

Thank you but not quite what I need, I for the moment only track E-Mails and
associate word documents. Often I will get e-mails in that do not have an
associated contact file. I normally will right click on the E-mails sender
and create a contact from the context menu. As every new contact i create
should have the E-Mail and word document tracking enabled (I'm refering to
what I see when I click on the ACTIVITIES button on a contact in the "show"
section) - Normally i have to goto Tools--->Options---->Journal Options and
find the new contact i just added in the list and enable the feature by
clicking on there name.

What I want is for that process to be automated (enabled) as soon as any new
contact is created.

thanks
 
Then you will need to handle the ItemAdd event on the Items collection of
any contacts folder you want to monitor. You can modify any of the ItemAdd
handler examples at www.outlookcode.com to do the sort of thing you want by
changing the folder and adding that code I showed. Search for ZapHTML at
outlookcode.com and use that as a model.
 
Back
Top