View Single Post
  #4  
Old November 10th 08, 02:49 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Drop-down list loses its value (Outlook 2003)

Where is the code running that sets up the drop-down control? In that
procedure put in code something like this, assuming that your user property
is named "myField":

ctrl.list = myArray

Dim i 'As Integer

i = Item.UserProperties("myField")

ctrl.ListIndex = i - 1

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Rod Behr" wrote in message
...
Ken

Thanks for the response.

My background is in VBScript (Access and ASP), so my experience of Outlook
scripting is limited. Please could you expand on what you have written.
How
would I go about doing this?

Thanks


Ads