your correct, sorry I put it before the Next ie
Exit For
Next
As you'll of deduced I really haven't any idea of the logic... I do apologise. As said it then executes with no errors and displays my finishing message but doesn't actually run my 'Spam' rule...
Hi Michael,
Again firstly thanks for your time... but as I'm only guessing at just what you mean I really haven't a clue where to copy and paste as what I've tried/guessed just gives even more errors.
All I want is for the script to run one of my existing rules in the current folder...
Gary
Hi Diane,
Thank you so much for taking the time...
Yes the rule named Spam exists.
The only other message I get is in 'Microsoft Visual Basic':
Run-time error '92':
For loop not initialized
Then I hit debug and it highlights the line/word Next
How annoying these needle's in hey stacks are...
Gary
Hi,
I have a macro that worked on my old PC but doesn't work on my new PC.
Its an Outlook 2013 32bit VBA module that runs an excising rule in the current folder.
The only difference is my new PC is 64bit both running Windows 7 ultimate.
For clarity my old PC was 32bit.
When initiated I get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.