Troubleshooting rule/script not running

Status
Not open for further replies.
D

Dawn

I created a rule that looks for certain conditions in the email, and then

runs a script. Worked lovely yesterday. This morning, it will not run. Any

suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with the

same script yesterday (thanks!) but thought I'd start a new post since this

is a different problem I'm having.]

I think I've narrowed it down to a problem with the script itself not

running, because I tried copying the rule, and then instead of having it run

the script, had the rule just forward the message to myself again. This

worked fine. My other rules seem to be working fine.

The script is saved in the ThisOutlookSession window, and all looks fine as

far as I can tell, it's all still there. I did try making some changes to

the script itself this morning before testing the rule, but when it didn't

work, I changed everthing back to original script and it still doesn't work.

Also tried closing & reopening Outlook, and also restarting the whole darn

computer.

This is the first time I've ever tried running scripts from rules -- is this

a tempremental operation perhaps? Thanks for any ideas.
 
S

Sue Mosher [MVP]

Does other VBA code run? Have you checked your macro security setting?

Sue Mosher

"Dawn" <dawn@NOSPAMstofoco.com> wrote in message

news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> I created a rule that looks for certain conditions in the email, and then
> runs a script. Worked lovely yesterday. This morning, it will not run.
> Any
> suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with
> the
> same script yesterday (thanks!) but thought I'd start a new post since
> this
> is a different problem I'm having.]

> I think I've narrowed it down to a problem with the script itself not
> running, because I tried copying the rule, and then instead of having it
> run
> the script, had the rule just forward the message to myself again. This
> worked fine. My other rules seem to be working fine.

> The script is saved in the ThisOutlookSession window, and all looks fine
> as
> far as I can tell, it's all still there. I did try making some changes to
> the script itself this morning before testing the rule, but when it didn't
> work, I changed everthing back to original script and it still doesn't
> work.

> Also tried closing & reopening Outlook, and also restarting the whole darn
> computer.

> This is the first time I've ever tried running scripts from rules -- is
> this
> a tempremental operation perhaps? Thanks for any ideas.
 
D

Dawn

Hi Sue -- it seems I can't get any script to fire from this rule. I added a

script to change the message to plain text, it also won't run. My security

settings were on "warning for signed macros, disable unsigned macros" I

tried setting it to "warnings for all macros" and to "no security check"

neither of which helped. I've set it back to "warnings for all". It did

work yesterday, nothing's changed as far as I know.

"Sue Mosher [MVP]" wrote:


> Does other VBA code run? Have you checked your macro security setting?

> > Sue Mosher
> > >

> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> >I created a rule that looks for certain conditions in the email, and then
> > runs a script. Worked lovely yesterday. This morning, it will not run.
> > Any
> > suggestions for troubleshooting why? [BTW, Sue Mosher helped me out with
> > the
> > same script yesterday (thanks!) but thought I'd start a new post since
> > this
> > is a different problem I'm having.]
> > I think I've narrowed it down to a problem with the script itself not
> > running, because I tried copying the rule, and then instead of having it
> > run
> > the script, had the rule just forward the message to myself again. This
> > worked fine. My other rules seem to be working fine.
> > The script is saved in the ThisOutlookSession window, and all looks fine
> > as
> > far as I can tell, it's all still there. I did try making some changes to
> > the script itself this morning before testing the rule, but when it didn't
> > work, I changed everthing back to original script and it still doesn't
> > work.
> > Also tried closing & reopening Outlook, and also restarting the whole darn
> > computer.
> > This is the first time I've ever tried running scripts from rules -- is
> > this
> > a tempremental operation perhaps? Thanks for any ideas.


>
 
S

Sue Mosher [MVP]

We already know from your description that the rule script isn't running,

but what about a simple VBA macro?

FYI, you must restart Outlook after changing the macro security setting or

the new setting won't take effect.

Sue Mosher

"Dawn" <dawn@NOSPAMstofoco.com> wrote in message

news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
> Hi Sue -- it seems I can't get any script to fire from this rule. I added
> a
> script to change the message to plain text, it also won't run. My
> security
> settings were on "warning for signed macros, disable unsigned macros" I
> tried setting it to "warnings for all macros" and to "no security check"
> neither of which helped. I've set it back to "warnings for all". It did
> work yesterday, nothing's changed as far as I know.

> "Sue Mosher [MVP]" wrote:
>
> > Does other VBA code run? Have you checked your macro security setting?
>

>> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> > news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> > >I created a rule that looks for certain conditions in the email, and
> > >then
> > > runs a script. Worked lovely yesterday. This morning, it will not
> > > run.
> > > Any
> > > suggestions for troubleshooting why? [BTW, Sue Mosher helped me out
> > > with
> > > the
> > > same script yesterday (thanks!) but thought I'd start a new post since
> > > this
> > > is a different problem I'm having.]
> >> > I think I've narrowed it down to a problem with the script itself not
> > > running, because I tried copying the rule, and then instead of having
> > > it
> > > run
> > > the script, had the rule just forward the message to myself again.
> > > This
> > > worked fine. My other rules seem to be working fine.
> >> > The script is saved in the ThisOutlookSession window, and all looks
> > > fine
> > > as
> > > far as I can tell, it's all still there. I did try making some changes
> > > to
> > > the script itself this morning before testing the rule, but when it
> > > didn't
> > > work, I changed everthing back to original script and it still doesn't
> > > work.
> >> > Also tried closing & reopening Outlook, and also restarting the whole
> > > darn
> > > computer.
> >> > This is the first time I've ever tried running scripts from rules -- is
> > > this
> > > a tempremental operation perhaps? Thanks for any ideas.

>

>
>>
 
D

Dawn

Thanks, Macro security did turn out to be the problem. (I didn't understand

the difference between a script and a macro, AND I didn't know I needed to

restart to get the settings change to take effect.)

(now... guess I have to figure out how to digitally sign the script, or put

up with that warning box!)

Thanks for your help, appreciate it!

"Sue Mosher [MVP]" wrote:


> We already know from your description that the rule script isn't running,
> but what about a simple VBA macro?

> FYI, you must restart Outlook after changing the macro security setting or
> the new setting won't take effect.

> > Sue Mosher
> > >

> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
> > Hi Sue -- it seems I can't get any script to fire from this rule. I added
> > a
> > script to change the message to plain text, it also won't run. My
> > security
> > settings were on "warning for signed macros, disable unsigned macros" I
> > tried setting it to "warnings for all macros" and to "no security check"
> > neither of which helped. I've set it back to "warnings for all". It did
> > work yesterday, nothing's changed as far as I know.
> > "Sue Mosher [MVP]" wrote:
> >
> >> Does other VBA code run? Have you checked your macro security setting?
> >
> >> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> >> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> >> >I created a rule that looks for certain conditions in the email, and
> >> >then
> >> > runs a script. Worked lovely yesterday. This morning, it will not
> >> > run.
> >> > Any
> >> > suggestions for troubleshooting why? [BTW, Sue Mosher helped me out
> >> > with
> >> > the
> >> > same script yesterday (thanks!) but thought I'd start a new post since
> >> > this
> >> > is a different problem I'm having.]
> >> >> > I think I've narrowed it down to a problem with the script itself not
> >> > running, because I tried copying the rule, and then instead of having
> >> > it
> >> > run
> >> > the script, had the rule just forward the message to myself again.
> >> > This
> >> > worked fine. My other rules seem to be working fine.
> >> >> > The script is saved in the ThisOutlookSession window, and all looks
> >> > fine
> >> > as
> >> > far as I can tell, it's all still there. I did try making some changes
> >> > to
> >> > the script itself this morning before testing the rule, but when it
> >> > didn't
> >> > work, I changed everthing back to original script and it still doesn't
> >> > work.
> >> >> > Also tried closing & reopening Outlook, and also restarting the whole
> >> > darn
> >> > computer.
> >> >> > This is the first time I've ever tried running scripts from rules -- is
> >> > this
> >> > a tempremental operation perhaps? Thanks for any ideas.
> >
> >
> >>


>
 
S

Sue Mosher [MVP]

FWIW, there are no "scripts" in VBA. It's a bad terminology choice on

Microsoft's part.

Sue Mosher

"Dawn" <dawn@NOSPAMstofoco.com> wrote in message

news:7B595010-9D1A-4DEE-A09B-2686E47F55A8@microsoft.com...
> Thanks, Macro security did turn out to be the problem. (I didn't
> understand
> the difference between a script and a macro, AND I didn't know I needed to
> restart to get the settings change to take effect.)

> (now... guess I have to figure out how to digitally sign the script, or
> put
> up with that warning box!)

> Thanks for your help, appreciate it!

> "Sue Mosher [MVP]" wrote:
>
> > We already know from your description that the rule script isn't running,
> > but what about a simple VBA macro?
>

>> FYI, you must restart Outlook after changing the macro security setting
> > or
> > the new setting won't take effect.
>

>> > > Sue Mosher
> > >> >> >
>
>> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> > news:D394F055-AE4A-4063-9C37-456218E46307@microsoft.com...
> > > Hi Sue -- it seems I can't get any script to fire from this rule. I
> > > added
> > > a
> > > script to change the message to plain text, it also won't run. My
> > > security
> > > settings were on "warning for signed macros, disable unsigned macros"
> > > I
> > > tried setting it to "warnings for all macros" and to "no security
> > > check"
> > > neither of which helped. I've set it back to "warnings for all". It
> > > did
> > > work yesterday, nothing's changed as far as I know.
> >> > "Sue Mosher [MVP]" wrote:
> >> >> Does other VBA code run? Have you checked your macro security setting?
> > >
>> >> "Dawn" <dawn@NOSPAMstofoco.com> wrote in message
> > >> news:5601A4DA-F6FD-41F9-837E-37CF490DABBC@microsoft.com...
> > >> >I created a rule that looks for certain conditions in the email, and
> > >> >then
> > >> > runs a script. Worked lovely yesterday. This morning, it will not
> > >> > run.
> > >> > Any
> > >> > suggestions for troubleshooting why? [BTW, Sue Mosher helped me out
> > >> > with
> > >> > the
> > >> > same script yesterday (thanks!) but thought I'd start a new post
> > >> > since
> > >> > this
> > >> > is a different problem I'm having.]
> > >>> >> > I think I've narrowed it down to a problem with the script itself
> > >> > not
> > >> > running, because I tried copying the rule, and then instead of
> > >> > having
> > >> > it
> > >> > run
> > >> > the script, had the rule just forward the message to myself again.
> > >> > This
> > >> > worked fine. My other rules seem to be working fine.
> > >>> >> > The script is saved in the ThisOutlookSession window, and all looks
> > >> > fine
> > >> > as
> > >> > far as I can tell, it's all still there. I did try making some
> > >> > changes
> > >> > to
> > >> > the script itself this morning before testing the rule, but when it
> > >> > didn't
> > >> > work, I changed everthing back to original script and it still
> > >> > doesn't
> > >> > work.
> > >>> >> > Also tried closing & reopening Outlook, and also restarting the
> > >> > whole
> > >> > darn
> > >> > computer.
> > >>> >> > This is the first time I've ever tried running scripts from rules > > >> > is
> > >> > this
> > >> > a tempremental operation perhaps? Thanks for any ideas.
> > >
>> >
>> >>

>

>
>>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R rules not working - done troubleshooting Using Outlook 0
Sarge USMC troubleshooting slow startup Using Outlook 6
J Troubleshooting Creating New Outlook Account Using Outlook 1
P Can I create a Rule that sends me an email when I get a Task? Using Outlook 3
E Having some trouble with a run-a-script rule (moving mail based on file type) Outlook VBA and Custom Forms 5
M How create a Rule to filter sender's email with more that one @ sign Using Outlook 1
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
1 Incorrectly Setup a Rule at Domain level to not allow address from outside domain Exchange Server Administration 2
J Transport Rule to detect Keyword question.. Exchange Server Administration 2
T "Words In Recipient's Address" Rule Causes Outlook To Stop Processing Rules Using Outlook 3
R Outlook Autoforward rule do not work for NDR messages Using Outlook 1
R Setup autofoward rule on a particular folder in Outlook Using Outlook 0
N Rule for "on behalf of" - with changing names Using Outlook 2
S Unable to remove rule outlook 2010 Using Outlook 0
O Outlook 2016 This rule will only run when you check your email in Outlook.... Using Outlook 4
Nadine Rule to move attachments with specific name Outlook VBA and Custom Forms 1
N Outlook Email Rule execution through shortcut keys (VBA codes) Using Outlook 1
dweller Outlook 2010 Rule Ignores VBA Script Outlook VBA and Custom Forms 2
O Rule to move (specific) messages from Sent folder to Specific folder Using Outlook 1
S Adding new Exchange (2016) rule very slow down Microsoft Outlook Exchange Server Administration 0
B Outlook rule run a Script doesn't work Outlook VBA and Custom Forms 1
K VBA BeforeItemMove event create rule to always move to its folder. Outlook VBA and Custom Forms 4
icacream Rule based on sender / wrong sender sent to folder Using Outlook 7
Bri the Tech Guy Run Script rule not running for newly arriving messages Outlook VBA and Custom Forms 25
L Making rule to move email to folder from one O365 domain Using Outlook 1
J Assess content of User Defined Field in Rule Using Outlook 3
S Send email via SMTP - use transport rules to add to senders inbox (then rule to move to sent items Exchange Server Administration 1
A Change order of actions in one (!) rule Outlook VBA and Custom Forms 2
J HELP- Rule to auto strip prepend from external emails Using Outlook 0
A Forward Outlook Email by Filtering using Macro Rule Outlook VBA and Custom Forms 44
A rule to flag messages not working Using Outlook 5
Brian Murphy Exchange Online Everything a Transport Rule should do and cannot Exchange Server Administration 1
J Outlook Rules - Changing auto-submit address in multiple rules, according to rule name Outlook VBA and Custom Forms 0
A saving attachement to folder named the same as rule name Outlook VBA and Custom Forms 0
Jennifer Murphy Can I create a Rule with Or'd conditions? Using Outlook 1
A Rules - how to determine if all conditions in rule are true or false Outlook VBA and Custom Forms 5
Vijay Error in rule- Run a script Using Outlook 1
Ascar_CT Rule behavior analysis - any tools available? Using Outlook 0
Liza Creating a rule in outlook to filter messages Using Outlook 0
Stilgar Relsik Create a rule to copy text from an email and paste it in the subject line. Using Outlook 1
M VBA Rule for removing all body but hyperlink then forwarding Outlook VBA and Custom Forms 9
B custome rule Outlook VBA and Custom Forms 2
Diane Poremsky Mark Sent Items as Read After Copying with a Rule New Slipstick.com Articles 0
Diane Poremsky Run a Script Rule: Send a New Message when a Message Arrives New Slipstick.com Articles 2
T Create Rule For Secondary E-Mail Address In Outlook 2016 Using Outlook 4
B Macro To Create Rule To Export From Certain Folder Email Information in one workbook multiple sheets Outlook VBA and Custom Forms 0
C Rule To Save attachments on receipt of email Outlook VBA and Custom Forms 2
Diane Poremsky Create a Task from an Email using a Rule New Slipstick.com Articles 0
ashcosta2 Auto Reply rule based on speficied time Outlook VBA and Custom Forms 0
M Rule option Using Outlook 2

Similar threads

Top