4 replies
by stillatit
User-defined fields take special handling. You will need to write (or find) a program which walks through the records and exports the fields you need.
Special warning -- if your custom fields can contain carriage-return codes, those characters will destroy the integrity of a .csv (comma separated values) file.
Good luck.
by nancyv
by nancyv
by stillatit
When you post a comment without rating an answer, the answerer does not get notified.
I am emailing you a program fragemt which shows how it is done.
The guts (for other random readers) are as follows:
Dim myNameSpace As Object
Dim ContactItems As Object
Set myolApp = CreateObject("Outlook.Application")
Set myNameSpace = myolApp.GetNamespace("MAPI")
Set Myfolder= myNameSpace.Folders("My folder name")
Set ContactItems = myfolder.Items
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
...
ExcelSheet.Application.Cells(locRowNumber, 21).Value = itm.HomeAddressState
...
ExcelSheet.Application.Cells(locRowNumber, 89).Value = itm.UserProperties.Find("MailStatus").Value
-----------
The example above for MailStatus shows how to access the user-defined field and shove it into an Excel spreadsheet, which you can import into Access. From Excel you can export to a .csv, or you can import the Excel spreadsheet to Access.
Good luck.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending