+ Post New Thread
Results 1 to 2 of 2
Coding Thread, VB Error when auto saving attachment in Outlook 2010 in Coding and Web Development; Hi all I have been using this really useful script to save attachments to a specified location when moving an ...
  1. #1
    tazz's Avatar
    Join Date
    May 2007
    Location
    Notts
    Posts
    224
    Thank Post
    48
    Thanked 16 Times in 9 Posts
    Rep Power
    18

    VB Error when auto saving attachment in Outlook 2010

    Hi all

    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?

    Thanks

  2. #2
    tazz's Avatar
    Join Date
    May 2007
    Location
    Notts
    Posts
    224
    Thank Post
    48
    Thanked 16 Times in 9 Posts
    Rep Power
    18
    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.



SHARE:
+ Post New Thread

Similar Threads

  1. PICNIC Error? How do I upload an attachment now?
    By elsiegee40 in forum General Chat
    Replies: 2
    Last Post: 12th April 2010, 01:29 PM
  2. Outlook 2010 not saving Sent Items to PST file.
    By mrforgetful in forum Office Software
    Replies: 4
    Last Post: 25th November 2009, 12:19 PM
  3. [MS Office - 2007] Outlook saving attachments WITHOUT extension
    By TheCrust in forum Office Software
    Replies: 0
    Last Post: 20th May 2009, 01:32 PM
  4. Auto Saving Files
    By linuxgirlie in forum Office Software
    Replies: 2
    Last Post: 10th November 2008, 03:35 PM
  5. [MS Office - 2003] Outlook Auto Reply
    By FN-GM in forum Office Software
    Replies: 1
    Last Post: 3rd October 2008, 02:31 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •