Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
fetching certain fields from 1 worksheet to another(if criteira me | New Users to Excel | |||
fetching multiple fields data | Excel Discussion (Misc queries) | |||
User-defined data type; Error: Only User-defined types... | Excel Programming | |||
Word.Document - user defined type not defined | Excel Programming | |||
Excel reading user defined fields in Outlook | Excel Programming |