![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JohanAbb" wrote in message ... 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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Start a macro after clic on "Send" button | [email protected] | Outlook - General Queries | 1 | August 10th 07 04:54 PM |
Outlk 2k3 Script: Saving Excel File programticaly from OUTLOOK SCRIPT | news.microsoft.com | Outlook and VBA | 3 | November 22nd 06 03:33 PM |
Run A SCRIPT - Select Script EMPTY | mitupan116 | Outlook and VBA | 1 | November 2nd 06 09:36 PM |
Rule 'run a script' not running my script | [email protected] | Outlook and VBA | 3 | May 30th 06 12:09 PM |
"Run a script" rule triggers but script does not execute | Trey Shaffer | Outlook and VBA | 7 | April 7th 06 11:34 PM |