+ Reply to Thread
Results 1 to 3 of 3

Thread: Saving Attachments Automatically with Unique Filenames

  1. #1
    Registered User
    Join Date
    06-22-2009
    Location
    Lincoln
    MS-Off Ver
    Excel 2003
    Posts
    47
    Help!! I have a major panic on my hands.

    An HR member of staff sent out a survey spreadsheet for other members of staff to complete and return to a generic email address, which they duly did. He assured us that he had everything in hand and that we would have the results of the survey by the end of the week.

    Well, it's now Thursday and he has just been signed off work for the next 3 weeks and we need this information by Monday at the latest.

    Essentially, I need some VBA that I can stick into Outlook that will save all the attachments on the 2000 odd emails we have in a named folder, into a folder on a designated PC (mine, actually).

    The problem is that over half of the attachments have exactly the same name, so I need a way for each attachment to be saved with a unique filename (maybe with a number after each one) so that they don't overwrite each other.

    I've searched, and there are a few requests for similar VBA on these boards, but none that appear to do exactly what I need, and I'm not adept enough with VBA (to be honest I didn't even know Outlook used it) to be able to make complicated adjustments.

    Can anyone point me in the right direction? A previous thread with instructions written in crayon as to how I would adapt it to my needs would be perfect.

    Thanks

    Edit: Forgot to mention that I'm using Outlook 2003 (I know, cutting edge).
    Last edited by jennyaccord; 12-10-2010 at 10:58 AM.

  2. #2
    Registered User
    Join Date
    06-22-2009
    Location
    Lincoln
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Saving Attachments Automatically with Unique Filenames

    Sorry about that. Just panicking.

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,810

    Re: Saving Attachments Automatically with Unique Filenames

    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.2.0