P
Peter Marchert
Hello,
I found code on Dmitrys Homepage to read field values by RDO but not
how to write new values to a field. The code should set the color of
appointment labels:
Sub SetLabelColor()
Dim objRDOSession As Object
Dim objRDOMail As Object
Dim objAppointment As Outlook.AppointmentItem
Set objAppointment = Outlook.ActiveExplorer.Selection(1)
Set objRDOSession = CreateObject("Redemption.RDOSession")
objRDOSession.Logon
Set objRDOMail =
objRDOSession.GetMessageFromID(objAppointment.EntryID,
objAppointment.Parent.StoreID)
MsgBox objRDOMail.Fields("http://schemas.microsoft.com/mapi/id/
{00062002-0000-0000-C000-000000000046}/82140003")
End Sub
Thanks for hints.
Peter
I found code on Dmitrys Homepage to read field values by RDO but not
how to write new values to a field. The code should set the color of
appointment labels:
Sub SetLabelColor()
Dim objRDOSession As Object
Dim objRDOMail As Object
Dim objAppointment As Outlook.AppointmentItem
Set objAppointment = Outlook.ActiveExplorer.Selection(1)
Set objRDOSession = CreateObject("Redemption.RDOSession")
objRDOSession.Logon
Set objRDOMail =
objRDOSession.GetMessageFromID(objAppointment.EntryID,
objAppointment.Parent.StoreID)
MsgBox objRDOMail.Fields("http://schemas.microsoft.com/mapi/id/
{00062002-0000-0000-C000-000000000046}/82140003")
End Sub
Thanks for hints.
Peter