How do I refer to user field in VB

B

Bev Kaufman

I have created a User-defined field in Outlook Customize View: Messages:
Fields. Before I add this field to my view, I need to populate it with a VB
program I am writing. But how do I refer to that field in my code. I have
gone through the objMail properties in the Locals window, and I don't see
anything that looks promising.
Related question. There is a field available to the view called In Folder,
and I need to use that field in my code, but again, I can't figure out how to
refer to it.
 
M

Michael Bauer [MVP - Outlook]

See the UserProperties collection. there you can access the field by its
name.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
<http://www.vboffice.net/product.html?lang=en>


Am Thu, 22 Apr 2010 14:38:01 -0700 schrieb Bev Kaufman:
 

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

Top