Search results

  1. Gary Brown

    Outlook 2013 VBA to run a rule

    nothing wrong with the VBA script it was an error in the rule it was attempting to run...
  2. Gary Brown

    Outlook 2013 VBA to run a rule

    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...
  3. Gary Brown

    Outlook 2013 VBA to run a rule

    I put the Exit For command after the Next and it finished without errors but it didn't run my rule.
  4. Gary Brown

    Outlook 2013 VBA to run a rule

    ps. The rule runs perfectly when manually ran in Rules and Alerts/Run Rules Now...
  5. Gary Brown

    Outlook 2013 VBA to run a 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
  6. Gary Brown

    Outlook 2013 VBA to run a rule

    proof attached ;) in chronicle order 1, 2, 3 & 4...
  7. Gary Brown

    Outlook 2013 VBA to run a rule

    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
  8. Gary Brown

    Outlook 2013 VBA to run a rule

    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...
Back
Top