Hi,
I don't think this is possible but is there a way to execute a macro when I receive a e-mail in outlook 2003 with a specific phrase in the subject line.
I'm trying to automate a report but the data comes to me via an e-mail etc...
Can this be implemented?
Lets say the phrase in the subject line is "ReportData 24-12-2008" ...
Outlook Execute Macro
Moderators: Dorian (MJT support), JRL
well what i had in mind was:
when a email with a specific subject comes through, i would somehow like to download the attachment and save it to my desktop and then run some scripts etc with that file...
what do we think?
maybe i dont know the outlook rules too well, maybe there is a way to save it to desktop?
when a email with a specific subject comes through, i would somehow like to download the attachment and save it to my desktop and then run some scripts etc with that file...
what do we think?
maybe i dont know the outlook rules too well, maybe there is a way to save it to desktop?
yes
the very first script I wrote did this exact thing.
What exactley do you want it to do?
I had the subject line indicate the customer number, it would then put the email into the customer folder and change their webpage as specified by the attachment.
If you need help please indicate your system, xp, vista.
the very first script I wrote did this exact thing.
What exactley do you want it to do?
I had the subject line indicate the customer number, it would then put the email into the customer folder and change their webpage as specified by the attachment.
If you need help please indicate your system, xp, vista.
Aaron
-
- Junior Coder
- Posts: 22
- Joined: Mon Sep 12, 2005 1:34 am
- Location: Melbourne - Australia
If you can tell me exactly what you would like to do that would help.
Do you really need to move it to the desktop?
You should be able to do move the file straight to a folder from outlook and do with it all you actions from there.
Try going through the process manually taking down notes of each and everything you do.
then post it to this form.
I will then help with your script.
Make sure and post what you have so far.
Do you really need to move it to the desktop?
You should be able to do move the file straight to a folder from outlook and do with it all you actions from there.
Try going through the process manually taking down notes of each and everything you do.
then post it to this form.
I will then help with your script.
Make sure and post what you have so far.
Aaron
-
- Junior Coder
- Posts: 22
- Joined: Mon Sep 12, 2005 1:34 am
- Location: Melbourne - Australia
Im using vista now but you can write down every step you take to do this manualy and then code the steps.
Im not sure if this can be done while outlook is minumized or not.
After thinking about it I used a perl script to copy to a differant folder but you can do this with ms if you want.
just set outlook to check your mail every so often, say 5 minutes.
Have your script trigger if a new file is in folder inbox.
then write your script to check the subject line, if they match have the file moved and do whatever it is you want it to do.
I cant really help you any further unless you start writing your script and post where you are having problems, and what it is next you need to do in your script.
My best addvice again would be to go through it manualy, use as many keyboard shortcuts as possable.
Keep good notes and start your script from there.
Good luck
Im not sure if this can be done while outlook is minumized or not.
After thinking about it I used a perl script to copy to a differant folder but you can do this with ms if you want.
just set outlook to check your mail every so often, say 5 minutes.
Have your script trigger if a new file is in folder inbox.
then write your script to check the subject line, if they match have the file moved and do whatever it is you want it to do.
I cant really help you any further unless you start writing your script and post where you are having problems, and what it is next you need to do in your script.
My best addvice again would be to go through it manualy, use as many keyboard shortcuts as possable.
Keep good notes and start your script from there.
Good luck
Aaron