Using the Code
Sub saveAttachtoDisk(itm As Outlook.MailItem)
Dim objAtt As Outlook.Attachment
Dim saveFolder As String
Dim dateFormat
saveFolder = "C:\Users\USERNAME\Saved"
For Each objAtt In itm.Attachments
objAtt.SaveAsFile saveFolder
Set objAtt = Nothing
Next
End Sub
I set up a rule to run this script when an email arrice with an attachment
It runs fine except I get a run time error -247024891 (80070005)' saying cannot save attachment. you don't have appropriate permission to perform this operation.
can anyone help me with where and what permissons need to be set