CDO works fine in Access VBA for me except when I try to use UNC paths for the attachments. According to MSDN documentation on CDO, AddAttachment should allow UNC paths. Here's what I think should work, but doesn't:
msg1.AddAttachment "\\serv.dom.local\path with spacesh1\file.xls"
It works perfectly fine if I use "C:...". What's the correct format?
The error I get is -2147024894 (80070002). "The system cannot find the file specified"
UPDATE: I gave up and created (or copied) the file to my local C drive rather than continue to fool with this.