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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top