I was hoping some of the more experienced VBA users will be able to help me with some coding please? This has been driving me insane. I have a demo program which works perfectly fine, On the treeview I am able to select a sub folder within my inbox, I am able to click browse and when I click on the get attachment button it downloads the attachment fine. I am trying to do the same on my excel program, the only difference is that I require no treeview, no textbox and no browse button. The textbox (destination) will be coded in, also the subfolder in my inbox will be coded in (so I have a sub folder called Test inside my inbox folder). I have tried to edit the coding but I get
An unexpected error has occurred.
Please note and report the following information
Error Description Object variable or with block variable not set
I have attached the demo program and my my version which is based from the demo program. I would really appreciate any help.