![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
With Access & Outlook 2003 I had Access code that read through the Notes
folder with Dim fldFolder As Outlook.MAPIFolder Dim objItems As Items Dim objItem As Object Dim oNoteItem as As Outlook.NoteItem Set fldFolder = Outlook.Application.GetNamespace("MAPI").GetDefaul tFolder(olFolderNotes) Set objItems = fldFolder.Items objItems.Sort "Subject" For Each objItem In objItems Set oNoteItem = objItem ... then code to use oNoteItem.Body, oNoteItem.Subject But this same code fails on the fldFolder.Items with Access/Outlook 2007. Run-time error 80040155, Method "Items' of object MAPIFolder failed. What is the correct coding style for accessing/modify Notes with 2007. A pointer to Knowledge base article would be appreciated. I've trying replacing the above style with using the new Table object but can't find a way to get a "Body" column. The default columns contain only Subject. Columns.RemoveAll followed by Columns.Add ("Body") fails. Hints, pointers to overviews on handling issues of Access/Outlook 2003-2007 vba conversion would be appreciated. Daniel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update meeting body not being retained in Outlook 2007 | Justin T | Outlook - Calandaring | 0 | April 12th 07 04:12 PM |
Outlook 2007 COM Addin Hang while typing in message body | Mikey | Outlook - Using Forms | 3 | March 28th 07 01:59 PM |
Can't see new emails body with Outlook 2007 Beta | Onesolo | Outlook - Installation | 21 | November 23rd 06 02:05 AM |
Problem with Outlook 2007 B2 - new messages not displaying body | Chris Ericoli | Outlook - General Queries | 2 | June 6th 06 08:44 PM |
Read contents of Note inserted in Outlook Contact Item Body | JPL | Outlook and VBA | 4 | June 5th 06 08:19 PM |