Outlook Private Sub Application_Startup()....What if it be public

Joined
Feb 21, 2018
Messages
216
Reaction score
86
Hi friends,

I have a routine/sub in module 1 that keeps executing every 5 minutes.
I need that routine to call apart from all good things its currently doing, I want it to call Sub Application_Startup() but that routine is startup routine which only executes each time when Outlook is launched. Can it be called from remaining in module 1 ? do I have to change it from Private Sub Application_Startup() ...to Public Sub Application_Startup()?

Thanks in advance for your help.
 
You want all your stuff in Application_startup to be used multiple times? Then put it in another sub and call that sub from Startup as well as every 5 minutes form the other sub.
 
Back
Top