Search results

  1. T

    2 mostly identical scripts, only one works

    Works great! Youre a wizard. Thank you! Thank you! Thank you!
  2. T

    2 mostly identical scripts, only one works

    i would just need the attachment in the first position, which should always be the same file type. ill try the if statement.
  3. T

    2 mostly identical scripts, only one works

    OK everything seems to be operating smoothly on the rule side of things. THANK YOU!!! but now i have a new problem. some of the emails that i am pulling information from have tiny (<500 Bytes) useless attachments from whatever software generates them, or the same reports in a different format...
  4. T

    2 mostly identical scripts, only one works

    nevermind on #1 - my mistake
  5. T

    2 mostly identical scripts, only one works

    so when i run it the way you do in the video it "works" except 1. The PDF file generated is "not a pdf or corrupted" 2. Still will not run as part of the rule.
  6. T

    2 mostly identical scripts, only one works

    "Compile Error: Expected variable or procedure, not module"
  7. T

    2 mostly identical scripts, only one works

    sorry i have been on leave from work, im not entirely sure i follow. i use the step into function and i get a yellow arrow (i assume error) on the first line of the macro you provided. Sub RunScript() Dim objApp As Outlook.Application Dim objItem As MailItem Set objApp = Application Set...
  8. T

    2 mostly identical scripts, only one works

    yes both scripts are in separate modules, named differently. i would prefer to run them as rules, we receive several reports every day with the same information. i dont necessarily need to read/review the information, i would just like it to be in a local folder with date for when i do.
  9. T

    2 mostly identical scripts, only one works

    hello friends, i have 2 functionally identical scripts in outlook, but only 1 of them works. this one works: Public Sub Name1(itm As Outlook.MailItem) Dim objAtt As Outlook.Attachment Dim saveFolder As String saveFolder = "S:\Folder\Folder" Dim dateFormat As String...
Top