![]() |
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 am using an ItemChange(ByVal item As Object) event to let a msgbox pop up once a task is completed. for some reason the event fires twice, once as expected right after a task is completed, and another time after about 1 minute. i don't get it why it behaves like this.... i read somewhere that it might have to do with service packs, respectively the order of installation of service pack and office. is this so? are there any workarounds? i would love to avoid doing all the installation work on 15 machines.... oh, by the way, i have the same phenomenon with vb code that does the same. thanks very much in advance. ~stephan p.s. below is my code, since it is very basic and on one level it does what i expect it to do, i assume that is more or less correct. Public WithEvents myOlItems As Outlook.Items Sub Application_startup() Set myOlItems = Application.GetNamespace("MAPI").GetDefaultFolder( olFolderTasks).Items End Sub Private Sub myOlItems_ItemChange(ByVal item As Object) Dim unsers As Outlook.TaskItem Set unsers = item If unsers.Complete = True Then MsgBox "hello world" End If End Sub -- win xp, office 2003 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explorer closing before Item Add event fires?? | AndyK | Outlook and VBA | 3 | November 3rd 06 03:22 PM |
Problem with CommandBarComboBox Change Event (Event fires only once) | M. Khalid Farooq | Add-ins for Outlook | 1 | October 19th 06 03:34 PM |
getting calendar event reminder for deleted event | [email protected] | Outlook - General Queries | 3 | September 4th 06 03:11 PM |
Change event to a repeating event | John Marshall, MVP | Outlook and VBA | 1 | July 27th 06 07:05 AM |
can a calander event to automaticaly reply during the event? How | DG at uei | Outlook - Calandaring | 1 | April 28th 06 08:45 AM |