A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I refer to user field in VB



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 22nd 10, 10:38 PM posted to microsoft.public.outlook.program_vba
Bev Kaufman
external usenet poster
 
Posts: 1
Default How do I refer to user field in VB

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.
Ads
  #2  
Old April 23rd 10, 10:22 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default How do I refer to user field in VB



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.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refer to a given Outlook Message from another MicrosoftApplication Paul Schrum Outlook and VBA 1 January 18th 08 06:41 AM
Refer original Item from new form sriramna Outlook - Using Forms 9 March 26th 07 03:56 PM
refer to "To" Field in Code Joel Outlook and VBA 10 December 7th 06 02:35 AM
Copying Data form user field to custom field [email protected] Outlook - Using Contacts 1 September 4th 06 06:32 PM
rename 'User Field 1' field ? E-Double Outlook - Installation 1 January 16th 06 03:38 PM


All times are GMT +1. The time now is 12:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.