I have an Access application that we've been using for years. One of things it does is looks in an Outlook folder and pulls any new files that have been copied to the folder. Today we started getting an error "Array index out of bounds". When I go to debug, it highlights the following line of code:
oMsg.Attachments.Item(1).SaveAsFile "C:\Faxes\" & TheFileName
Any ideas of how to work around this?