Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Fetching user-defined fields from Outlook

Hi!
I am fetching tasks from Outlook and it works well for the Outlook-defined
columns like Subject, DueDate etc. but I don't know how to get my
user-defined columns. Any ideas? Se example below

/Marcus

Set olApp = New Outlook.Application
Set olNamespace = olApp.GetNamespace("MAPI")
Set olFolder = olNamespace.GetDefaultFolder(olFolderTasks)
Set olColItems = olFolder.Items

For Each olItem In olColItems
If TypeName(olItem) = "TaskItem" Then
With olItem
Cells(i, 1).Value = .Subject
Cells(i, 2).Value = .Categories
Cells(i, 3).Value = .StartDate
Cells(i, 4).Value = .Prio 'this does not work since it's not
recognized

Next olItem
End If

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
fetching certain fields from 1 worksheet to another(if criteira me prem New Users to Excel 8 January 1st 09 08:36 AM
fetching multiple fields data abadd0n Excel Discussion (Misc queries) 14 December 4th 08 08:14 AM
User-defined data type; Error: Only User-defined types... tiger_PRM Excel Programming 1 July 18th 04 03:32 PM
Word.Document - user defined type not defined jowatkins[_7_] Excel Programming 0 January 20th 04 08:46 AM
Excel reading user defined fields in Outlook Richard Naish Excel Programming 1 August 8th 03 11:42 PM


All times are GMT +1. The time now is 02:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"