I have been using this really useful script to save attachments to a specified location when moving an email from one folder to another in Outlook 2007.
Just trying to get it to work in Outlook 2010 and I get the following error:
Run-time error '-2147024891 (80070005)': Cannot save the attachment. You don't have appropriate permission to perform this operation.
When I click Debug it highlights line 32:
olAtt.SaveAsFile FILE_PATH & olAtt.FileName
If I open the email and choose save as on the atachment it allows me to save it to the location specified in the script. So it isn't that I don't have permission to the folder. Perhaps I don't have permission to run the script??
Anyone got any ideas please?
Just to update you, it works on my colleagues computer so the coding is ok. Trying to see if there are any policies applying to my machine preventing this from running.
There are currently 1 users browsing this thread. (0 members and 1 guests)