G
Guest
Does anyone know if its possible for a DTS package to run an Outlook Macro?
I have created a Macro to take a main public folder, and move the messages to
subfolders based on the subject line. I set the code up so it will always
find the folders needed, and if not, just not use them, so I know the process
won't turn zombied (sorry, I use Linux a lot, I don't know the correct term
for this). I try to set it up just like an Excel Macro to run through DTS,
only createobject(Outlook.Application). But heres the part that the DTS does
not like:
macroname = "Seperate"
SET ol_app = CREATEOBJECT("OutLook.Application")
HERE---> ol_app.Run macroname <-----------HERE
Any ideas? Thanks in advanced for your help.
I have created a Macro to take a main public folder, and move the messages to
subfolders based on the subject line. I set the code up so it will always
find the folders needed, and if not, just not use them, so I know the process
won't turn zombied (sorry, I use Linux a lot, I don't know the correct term
for this). I try to set it up just like an Excel Macro to run through DTS,
only createobject(Outlook.Application). But heres the part that the DTS does
not like:
macroname = "Seperate"
SET ol_app = CREATEOBJECT("OutLook.Application")
HERE---> ol_app.Run macroname <-----------HERE
Any ideas? Thanks in advanced for your help.