Hi guys,,

i have some code that i'm using to send automatic email when outlook opens dependant on Calendar meeting subjects

Curently it pulls the calendar via the Entry ID but this only works if you run the macro after all the add in's are loaded and the inbox (or any other screen bar the small loading screen) has actually been displayed.

I'm wondering if there's a piece of code to detect if the inbox is being displayed?

When running my code on application startup it tries to run the VBA whilst doing the add in's and i presume the Entry ID's aren't loaded until when the inbox is displayed ?

All help is extremely appreciated.

Thanks