View Single Post
  #2  
Old May 26th 09, 10:04 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Appoinments Not Updating after Outlook 2007 SP2

Don't multipost, I answered this in the other group you posted in.

I can't repro that here on Outlook 2007 SP2. I fixed the VBA code to remove
the DateTime Framework class, since it doesn't exist in VBA code (it's just
Now) and the code worked on an appointment in a public folder.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"MichaelR" wrote in message
...
After installing SP2 i am no longer able to update the start or end time
of
an appoinment item in a public folder.

The changes are lost apon the save. This appears to only affect public
folder and spicific appoinment fields, some of them will save along with
all
user properties.

Does anyone know if microsoft is aware of this or if there is a hotfix?

Thanks
Michael

Test Sub:

Sub test()

Dim AppoinmentItem As AppointmentItem

Set AppoinmentItem =
Session.Application.ActiveExplorer.Selection.Item( 1)

MsgBox "Opened Item: " & AppoinmentItem.Start

AppoinmentItem.Start = DateTime.Now

MsgBox "New Item Time: " & AppoinmentItem.Start

AppoinmentItem.End = DateTime.Now

AppoinmentItem.Save

MsgBox "Saved Item Time: " & AppoinmentItem.Start

End Sub


Ads