start script with at button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm working with Outlook 2003.

I've added an extra column in my inbox, called "CaseID".

I want to be able, when I'm on a certain mail, to click on a button and to
programatically add a value into the 'CaseID' column.

Anybody?
 
The selected item(s) -- note plural! -- are in the Application.ActiveExplorer.Selection collection. Iterate it with a For Each ... Next loop.

You'll need to use the UserProperties.Add method to add the CaseID property to the item. The exact code depends on what type of property it is -- text, number, etc.
 
Back
Top