Consulting

Results 1 to 2 of 2

Thread: Auto save of attachments

  1. #1

    Red face Auto save of attachments

    I found code on this site to automatically save attachments to a folder called Temp. When I execute I get the following message:

    The operation failed. An object could not be fould.

    It happens on this code...

    Set TargetFolderItems = ns.Folders.Item( _
    "Personal Folders").Folders.Item("Temp").Items

    I am very new to VB and would appreciate any help.

    What I am trying to do is set up a process to automatically save attachments (.xls) to a folder on the hard drive.

    TIA.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Dennis,
    Welcome to VBAX.
    I posted a similar question here
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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