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