PC Review


Reply
Thread Tools Rate Thread

How do I refer to user field in VB

 
 
Bev Kaufman
Guest
Posts: n/a
 
      22nd Apr 2010
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.
 
Reply With Quote
 
 
 
 
Michael Bauer [MVP - Outlook]
Guest
Posts: n/a
 
      23rd Apr 2010


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:

> 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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I refer to the current field OD Microsoft Access VBA Modules 4 9th Aug 2009 10:01 PM
Refer upper field =?Utf-8?B?SW5mbw==?= Microsoft Excel Worksheet Functions 1 8th Oct 2007 01:59 PM
Re: Refer to a field by string in VB John Nurick Microsoft Access VBA Modules 1 30th Dec 2006 10:16 AM
CS0236: Field initializer cannot refer to field xyz cody Microsoft C# .NET 2 28th Jul 2006 04:08 PM
Refer to the field by name??? Frank Rizzo Microsoft ADO .NET 14 30th Dec 2003 02:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 PM.