![]() |
|
#1
|
|||
|
|||
![]()
Hi,
The problem was a error on my part. The file that is working for me is not the one I posted here. The line of code I posted was incorrect. Her's what this part of the could should have been. Code:
If oOlItm.Attachments.Count <> 0 Then For Each oOlAtch In oOlItm.Attachments '~~> Download the attachment oOlAtch.SaveAsFile oOlAtch.Filename''Corrected to this Exit For Next Else MsgBox "The First item doesn't have an attachment" End If |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ozman86 | Excel Programming | 3 | 11-27-2014 01:06 PM |
error code 30029-4 | zignaasa | Office | 0 | 05-24-2014 10:07 PM |
![]() |
DrLoveday1 | Outlook | 1 | 04-12-2013 05:36 AM |
![]() |
shmoib | Word | 1 | 07-03-2011 02:32 AM |
Error code 0x800CCC80 | Kevin | Outlook | 1 | 03-18-2011 07:20 AM |