Please see the UserProperties collection.
Best regards
Michael Bauer - MVP Outlook
: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>
Am Tue, 24 Nov 2009 00:18:13 -0800 (PST) schrieb Youie:
> Hi there,
>
> I have a neat little routine which i've made into a button in Outlook
> that turns an email into a task and makes it due today or next week or
> next month. All good.
>
> however, I've now adopted a task prioirity scheme that involves me
> marking tasks as either priority 1, 2, 3, or 4. I created a custom
> field in Tasks to store these values and I can populate the
> appropriate priority value (1,2,3 or 4) manually but would like to
> know how to do it in my code by having a little dialog box appear
> where I can choose either 1, 2, 3 or 4 and then click OK and have the
> value stored in the custom field.
>
> Currently, the code that tracks the category on the task looks like
> this:
>
> olTask.Categories = "PIPC - Practice" so I don't understand why the
> custom field doesn't appear as an attribute of olTask.
>
> Any assistance, please?