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.
 
Joined
Jul 7, 2018
Messages
9
Reaction score
1
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top