PDA

View Full Version : Auto save of attachments



dennis_0858
07-14-2008, 11:44 AM
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.

mdmackillop
07-18-2008, 12:43 AM
Hi Dennis,
Welcome to VBAX.
I posted a similar question here (http://www.vbaexpress.com/forum/showthread.php?t=11807)
Regards
MD