![]() |
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
|
|||
|
|||
![]()
Hi,
I can successfully loop thru all messages in the Sent Items folder until the code reaches a Meeting Response item. At that point there is a type conflict. How can I detect a meeting response so I can ignore it and continue with the loop? Code below is passed Fldr already ponting to Sent Items and a recordset thru which information is being saved to a database. Sub SaveSentEmails(Fldr As MAPIFolder, rs As ADODB.Recordset) Dim Email As MailItem Dim Emails As Items On Error Resume Next With rs For Each Email In Fldr.Items 'Only save future appointments If Not Email Is Nothing Then If Email.SentOn LastDate Then .AddNew !FolderName = Fldr.Name !Sent = Email.SentOn !Subject = Left$(Email.Subject, 98) !To = Left$(Email.To, 50) !Details = Email.Body !DateAdded = Date If Err 0 Then Beep End If .Update End If End If Next End With End Sub Many Thanks, -- Rod Gill |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Not Sending All Meeting Request Responses | Shel | Outlook - Calandaring | 0 | March 16th 07 02:14 PM |
Outlook meeting responses deisappears? | Malin | Outlook - Calandaring | 0 | November 15th 06 08:04 AM |
No more meeting invitation responses | Jeff | Outlook - Calandaring | 3 | April 13th 06 02:19 AM |
Meeting Responses | Eric | Outlook - Calandaring | 1 | February 7th 06 06:24 AM |
Responses to a meeting request are not tracking | 2ndN@ture | Outlook - Calandaring | 0 | January 9th 06 08:40 PM |