![]() |
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
|
|||
|
|||
![]()
How do you identify meetings that have been saved but not sent in Outlook via VBA?
I see Appointment Item properties to tell me if the item has been changed since being saved, but I don't see one telling me if it has been sent yet. Outlook itself knows - it displays a message at the top of the unsent meeting saying "Invitations have not been sent for this meeting." Obviously I am missing something easy, but I (at least think I) have looked down all the properties and don't see it. For a MeetingItem, it looks like there is a .Sent (boolean) property, but MSN documentation says that the MeetingItem isn't generated until the AppointmentItem is sent, and it is in the recipient's mailbox. That seems redundant to me. If a meetingitem is not generated until it is sent, then the .sent property should always be true! (?) I want the same information for the AppointmentItem (having a MeetingStatus property of olMeeting). I know how to retrieve appointments/meetings in general, but need to be able to tell if they have been sent yet. Thx! |
Ads |
#2
|
|||
|
|||
![]()
Eric Legault [Outlook MVP] answered my question on another site/forum:
Use the PropertyAccessor to check for FInvited (http://schemas.microsoft.com/mapi/proptag/0x00620003); will equal true. Does not exist otherwise. So, my Function to tell if a meeting has been sent is simply: Function MeetingSent(oAppt As Variant) As Boolean Dim PropName As String Dim oPA As Outlook.PropertyAccessor PropName = "http://schemas.microsoft.com/mapi/proptag/0x00620003" 'Obtain an instance of PropertyAccessor class Set oPA = oAppt.PropertyAccessor 'Call GetProperty MeetingSent = oPA.GetProperty(PropName) End Function Thanks Eric! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Identify Read Recepits | Sanya Ibrahim | Outlook and VBA | 7 | February 22nd 10 02:59 PM |
Rule to identify a from address | Anthony Chater | Outlook - General Queries | 4 | November 2nd 07 02:07 PM |
How can I identify which profile is in use | cmgarnett | Outlook - Installation | 4 | May 3rd 07 08:08 AM |
not able to identify the attachment | [email protected] | Outlook Express | 2 | November 11th 06 03:53 AM |
How to identify identity of sender? | hringley | Outlook - Using Contacts | 1 | May 16th 06 02:58 PM |