ayngalt
asked on
MS Access "Array Index Out of Bounds" Error
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:
Any ideas of how to work around this?
oMsg.Attachments.Item(1).SaveAsFile "C:\Faxes\" & TheFileName
Any ideas of how to work around this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER