A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Appoinments Not Updating after Outlook 2007 SP2



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 26th 09, 07:35 PM posted to microsoft.public.outlook.program_vba
MichaelR
external usenet poster
 
Posts: 1
Default Appoinments Not Updating after Outlook 2007 SP2

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
  #2  
Old May 26th 09, 11: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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Shared Calendars are not updating targetUT Outlook - Calandaring 0 January 24th 08 03:21 PM
Outlook+Exchange 2003-canceled updated appoinments gets duplicate mcse Outlook - Calandaring 0 October 15th 07 02:10 PM
Updating to Outlook 2007 from 2003 cobbie10 Outlook - Installation 1 July 4th 07 11:54 PM
outlook automatically adds calendar appoinments as 'tentative' [email protected] Outlook - General Queries 1 April 20th 07 04:07 PM
Retrieve all Outlook calendar appoinments for a day [email protected] Outlook and VBA 1 June 12th 06 02:53 PM


All times are GMT +1. The time now is 08:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.