PDA

View Full Version : [SOLVED:] Multiple script on Outlook



darchi015
05-19-2015, 09:33 AM
Hello, I would like to know what options do I have for the following situation:
-I have two codes written in ThisOutlookSession(both of them are used as scripts);
-Currently I can use only one a time (I save it on ThisOutlookSession and create a rule for it and it is working perfect)
-In the near future I would like to be able to run both of them, how am I supposed to do this? (I found out the you can have only one project/ThisOutlookSession)

Thank you in advance,
Christian

PS: I have to mention that I am newbie in VBA so I am not able to modify the code (and you can not combine both of the code into a single one because they are both reading an template email format, based on context of it and save into a different template format)

gmayor
05-20-2015, 01:48 AM
As the macros are scripts run from rules, give them different names and they won't conflict. They should also be in an ordinary module and not ThisOutlookSession.

darchi015
05-20-2015, 03:41 AM
Thank you.