B
bp_soni
Hi
I am using outlook 2000
I want to create a rule in VBA that will move messags from a certain
user into a personal folder (that will already be present)
However I want to create a .VBS file with this code and send it to a
user as an attachement such that
1) the User will open the email
2) The user will double click on the file (with a .vbs) extension and
select to run the file from the curent location.
3) The Scripting File will add this rule to the Rules list for the
mailbox. The rule will then run each in the future that Outlook is
running.
Is this possible? I have looked on MSDN etc. Most examples using VBA
are saved as Macros and then run from there.
The only other optin that I can think of is if there is any way of
impoting a rule using code. I couldthen create the rule, export it to
file and send it along with a VBS file that will import it, but I have
not been aboe to find any examples of that either
Many Thanks
Bhupesh
I am using outlook 2000
I want to create a rule in VBA that will move messags from a certain
user into a personal folder (that will already be present)
However I want to create a .VBS file with this code and send it to a
user as an attachement such that
1) the User will open the email
2) The user will double click on the file (with a .vbs) extension and
select to run the file from the curent location.
3) The Scripting File will add this rule to the Rules list for the
mailbox. The rule will then run each in the future that Outlook is
running.
Is this possible? I have looked on MSDN etc. Most examples using VBA
are saved as Macros and then run from there.
The only other optin that I can think of is if there is any way of
impoting a rule using code. I couldthen create the rule, export it to
file and send it along with a VBS file that will import it, but I have
not been aboe to find any examples of that either
Many Thanks
Bhupesh