outlook vba set current email account

  1. R

    Trying to extract information between two symbols from outlook subject

    I am trying to pull text between two symbols: S1 | STAR2449524 | XYZ Bank | 1 - Critical |Health Service Heartbeat Failure. I need to extract | XYZ Bank | Which is between 2'nd appearance of symbol and place it in my template where variable name is COMP1 | This is my code S1 | ICM21449524...
  2. C

    Outlook VBA to set current account

    I am writing a script to create rules. That is fine but I cannot determine how to change to a certain folder before starting to create the rules. I have two email accounts in Outlook. I want to select the second account and a folder in that account (not Inbox) and have the rules creation script...