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

Outlook events will not fire



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 27th 06, 04:48 PM posted to microsoft.public.outlook.program_vba
Alex
external usenet poster
 
Posts: 90
Default Outlook events will not fire

hello all!
I got the weirdest of problems.

I'm using VBA in Outlook 2003 to trap incoming mail.
Yesterday I had some code using Application_NewMail() working perfectly.
This morning the code does not execute because the event doesn't fire. I
switched the code to Application_NewMailEx() but this event will not fire
either.

I tried to test Application_MAPILogonComplete() with a single msgbox "hello
world". The event worked fine the first time but then I rebboted thinking i
had some weird bug. When i restarted my Outlook after that boot,
Application_MAPILogonComplete() didn't fire and still won't. I'm I missing
something. I got plenty of exeprience working Acces, Excel and Work but its
my first job on Outlook and right now its not looking well.
  #2  
Old April 28th 06, 06:02 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Outlook events will not fire

Am Thu, 27 Apr 2006 08:48:01 -0700 schrieb Alex:

The NewMail event doens´t fire for each incoming item. Please use the Inbox´
ItemAdd event instead.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


hello all!
I got the weirdest of problems.

I'm using VBA in Outlook 2003 to trap incoming mail.
Yesterday I had some code using Application_NewMail() working perfectly.
This morning the code does not execute because the event doesn't fire. I
switched the code to Application_NewMailEx() but this event will not fire
either.

I tried to test Application_MAPILogonComplete() with a single msgbox

"hello
world". The event worked fine the first time but then I rebboted

thinking i
had some weird bug. When i restarted my Outlook after that boot,
Application_MAPILogonComplete() didn't fire and still won't. I'm I

missing
something. I got plenty of exeprience working Acces, Excel and Work but

its
my first job on Outlook and right now its not looking well.

  #3  
Old April 28th 06, 04:12 PM posted to microsoft.public.outlook.program_vba
Alex
external usenet poster
 
Posts: 90
Default Outlook events will not fire

Well what do you it seems it worked!!
[dances happily around the office]

Thanx Michael!

"Michael Bauer" wrote:

Am Thu, 27 Apr 2006 08:48:01 -0700 schrieb Alex:

The NewMail event doens´t fire for each incoming item. Please use the Inbox´
ItemAdd event instead.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


hello all!
I got the weirdest of problems.

I'm using VBA in Outlook 2003 to trap incoming mail.
Yesterday I had some code using Application_NewMail() working perfectly.
This morning the code does not execute because the event doesn't fire. I
switched the code to Application_NewMailEx() but this event will not fire
either.

I tried to test Application_MAPILogonComplete() with a single msgbox

"hello
world". The event worked fine the first time but then I rebboted

thinking i
had some weird bug. When i restarted my Outlook after that boot,
Application_MAPILogonComplete() didn't fire and still won't. I'm I

missing
something. I got plenty of exeprience working Acces, Excel and Work but

its
my first job on Outlook and right now its not looking well.


 




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
How do I highlight calendar events in Outlook 2000 J_Publicist Outlook - Calandaring 0 April 9th 06 05:08 AM
Events per day in Outlook Calendar. Sammie Outlook - Calandaring 0 March 6th 06 11:10 PM
script event does not fire urs Outlook - General Queries 2 March 1st 06 04:55 PM
events and their explalations for Outlook 2000? Dave Outlook and VBA 1 February 10th 06 03:38 PM
Is it possible to calculate events from Outlook calendar? LAV Outlook - Calandaring 0 January 11th 06 09:26 PM


All times are GMT +1. The time now is 11:08 AM.


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.