Search results

  1. A

    Change order of actions in one (!) rule

    Dear Forum Users, I have the following rule: Apply to message with "BMX" in the subject and on this computer only forward it to "recipient@domain.com" and run "Project1.ThisOutlookSession.run" I have to first run a script then forward. The attachments must be removed BEFORE forwarding. I...
  2. A

    ThisOutlookSession debug

    Dear Diane, Unfortunately I still cannot debug the code. I need relatively simple answer: What is the name of rule executed? How to read rules object name? The only object I have in ThisOutlookSession is mailitem ... Andrzej
  3. A

    saving attachement to folder named the same as rule name

    Dear Forum Users, My task to do is: run rules by VBA and save attachments to folder named the same as rule name. Rules are working on demand (not when message arrives!) I wrote VBA code in ThisOutlookSession which saves attachments but I really don't know how to read rule name ... I attach...
  4. A

    ThisOutlookSession debug

    Dear Forum Users, Does anyone know how to debug the code written in ThisOutlookSession module? I am using MsgBox function to catch the bug but it's very insufficient method... Regards, Andrzej
  5. A

    Rules - how to determine if all conditions in rule are true or false

    Dear Diane, Once again thank you. I found another solution. I put a script to every rule. If rule meets conditions to run, it runs also the script. Then I don't have to check if sum of conditions in a rule is true! I hope this will work - I am going to check it soon. Regards, Andrzej
  6. A

    Rules - how to determine if all conditions in rule are true or false

    Diane, Thank you very much for the answer. I thought rather about solution which is based on already existing objects. Somehow rules must know if to execute a single rule or not... If there is no other method I will have to do that your way :) Does anyone has another suggestion? Regards, Andrzej
  7. A

    Rules - how to determine if all conditions in rule are true or false

    Dear Forum Users, I am trying to get know if all conditions in a single rule return true or false. How to get know that by VBA (programmatically) ? For example I have a rule: If subject or body contains "AC4" or "AC 4" or AC/4" forward it to AC4 group and run a script...
  8. A

    Capture network traffic in IE to file

    Dear Diane, Dear Colleagues, I need somehow to read redirected URL2 I'm almost decided to capture network traffic and save it to file. Can anyone tell me if it's possible with VBA and how to do that? I really appreciate any clues... Regards, Andrzej
  9. A

    Capture network traffic in IE to file

    Dear Diane, Thank you very much for the answer, but... URL1 and consequently URL2 was only an example. I am doing that on classified network and I can't give real example. After redirection from URL1 to URL2 there is no url2 in the HTML page (I've checked the whole redirected html, I mean...
  10. A

    Capture network traffic in IE to file

    Dear Colleagues, I need to do the following by VBA procedure in Outlook: 1) open in Internet Explorer http:// www. anyaddress.com 2) wait (about 15 seconds) until IE redirects to https:// www. hugedomains.com/domain_profile.cfm?d=anyaddress&e=com 3) read the word "hugedomains" from URL2 I...
  11. A

    Outlook: copy & paste

    Thank you very much ! It works. I really appreciate your help. Andrzej
  12. A

    Outlook: copy & paste

    Dear Diane, Can you help me once again? I've noticed that after sub is finished the copied e-mail remains in Inbox folder. I have them doubled : in Inbox and in Savefolder. I've checked it on Outlook 2010 and Outlook 2013. Shall I wrote a piece of code which removes e-mails from Inbox or is...
  13. A

    Outlook: copy & paste

    Diane, You are genius ! THANK YOU VERY MUCH! Andrzej
  14. A

    Outlook: copy & paste

    Thank you very much Diane, I adapted macro from link, it works, but ... after copying msg files into Outlook folder message remains open for edition - I can't change this. I would like to have the same effect as doing copy& paste. Is there maybe another method to copy files from hard drive...
  15. A

    Outlook: copy & paste

    Hello, I am new in VBA. Can you help me with the following problem: I need to copy and paste msg files from c:\msg\*.msg to Outlook 2007 folder (for example “for_send”) I did it by copy function (see code below) but unfortunately outlook can't see it as mailitem. Outlook also changes an icon of...
  16. A

    outlook 2007 how to chcek all rules ?

    Thank you. Solved. Andrzej
  17. A

    outlook 2007 how to chcek all rules ?

    Dear Forum Users, I have a question to more experienced programmers in VBA (Outlook users) In Outlook 2007 there is no button to "Select all" rules. It appeared in 2010. Is it possible to create such a button in 2007? (using VBA) Best regards, Andrzej N. Brussels
Top