Use an ItemAdd to Save Attachments on Arrival


New Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I am trying to modify a module in Outlook that allowed me to save several specific file types to a specified location so that it automatically identifies the name and file type and then saves it with a specific name into a specific folder where I pull it into access 2016. I had some help a while back from a poster on this forum and followed the instructions to the letter but i am getting compiling errors. I used the "Use an itemAdd to save attachments on arrival as a template" from the Slipstick website and added some code in the attachment and switched out some variables to match my old macro. I get a compiling error variable not defined with the following strDestName.
I think I also have some duplicitous code for writing the filename but I haven't gotten that far yet.
Any suggestions?