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

user-defined fields of tasks with VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 11th 06, 03:32 PM posted to microsoft.public.outlook.program_vba
Timber69
external usenet poster
 
Posts: 1
Default user-defined fields of tasks with VBA

I would like to syncronize an Excel Sheet with my tasks in Outlook using VBA.
My view in Outlook is customized with user-defined fields and I can not
handle these fields with VB. I do not know how to name these user-defined
fields!
Ads
  #2  
Old September 11th 06, 03:46 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default user-defined fields of tasks with VBA

Use the TaskItem.UserProperties collection. See http://www.outlookcode.com/d/propsyntax.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Timber69" wrote in message ...
I would like to syncronize an Excel Sheet with my tasks in Outlook using VBA.
My view in Outlook is customized with user-defined fields and I can not
handle these fields with VB. I do not know how to name these user-defined
fields!

  #3  
Old April 5th 13, 11:22 AM
timfoster timfoster is offline
Junior Member
 
First recorded activity at Outlookbanter: Apr 2013
Posts: 1
Angry

Quote:
Originally Posted by Sue Mosher [MVP-Outlook] View Post
Use the TaskItem.UserProperties collection. See http://www.outlookcode.com/d/propsyntax.htm
I have a similar propblem in that my Tasks forms don't think they have any user props at all. If I inspect the count I get 0 for all of them, yet when I look at my custom view of the tasks I can see my custom columns with the data they contain.

The problem seems to have come about when Outlook disconnects each night. When I start it up again the next morning, Tasks are back to using the default form. I run a routine to re-associate the folder and all the Tasks with my custom form again, and this resolves the issue for new Tasks, but the existing ones remain using the default form.

I can't find a way to force them back to using my custom form, and therefore displaying my custom fields on the form.

I was planning on resorting to recreating each one anew, but if I can't access the custom fields, this isn't an option either. It's really frustrating!

Sorry, forgot to mention, this is Outlook 2010

Last edited by timfoster : April 5th 13 at 11:27 AM. Reason: Update
 




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
Tasks - User Defined Columns to Pocket PC Tasks??? Lovebaby Outlook - General Queries 1 July 23rd 06 08:14 PM
How to access user defined fields through VBA Oliver Gräser Outlook - Using Forms 6 June 8th 06 03:15 PM
User defined fields - can they be renamed DianaH Outlook - Using Contacts 1 May 29th 06 11:57 AM
user defined fields Karl-H. Engesser Outlook - Using Contacts 1 February 9th 06 02:33 PM
Referencing User-Defined Fields Chaplain Doug Outlook and VBA 2 January 13th 06 05:54 PM


All times are GMT +1. The time now is 12:26 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.