Good stuff.
I had to adapt some of my code, but I got it to work.
Here's my code for reference:
'=========================================================
Private Sub CmdAnalyse_Click()
Dim ObjOutlook, MyNamespace, oFldr, myFldr, myMailItem, myAttach As Object
Dim i, j, k, x As Integer
Dim myDiskFolder As String
myDiskFolder = "c:\new\" 'Folder on hard disk to save attachments
Set ObjOutlook = Outlook.Application
Set MyNamespace = ObjOutlook.GetNamespace("MAPI"

Set oFldr = MyNamespace.GetDefaultFolder(olFolderInbox)
Set myFldr = oFldr.Folders.Item(13) 'My subfolder in Inbox that holds attachments
For i = 1 To myFldr.Items.Count
Set myMailItem = myFldr.Items.Item(i)
For k = 1 To myMailItem.Attachments.Count
'save each mail attachment
Set myAttach = myMailItem.Attachments
If PathAndFileExist(myDiskFolder, x & myAttach.Item(k).DisplayName) = True Then x = x + 1
'Saves duplicate attachments to hard disk as 0xxx.xls,1xxx.xls,2xxx.xls etc
myAttach.Item(k).SaveAsFile myDiskFolder & x & myAttach.Item(k).DisplayName
Next k
Next i
Set ObjOutlook = Nothing: Set MyNamespace = Nothing
Set oFldr = Nothing: Set myFldr = Nothing
Set myMailItem = Nothing: Set myAttach = Nothing
End Sub
'------------------------------------------------------
Public Function PathAndFileExist(ByVal PathToFile As String, _
ByVal FileName As String) As Boolean
Dim FSys As Object 'object that represents the Filesystem
PathAndFileExist = False
Set FSys = CreateObject("Scripting.FileSystemObject"
'FSys.FileExists( . . . ) returns True if file exists
PathAndFileExist = FSys.FileExists(PathToFile & FileName)
Set FSys = Nothing 'disconnect
End Function
'======================================================