Hi All,
I have the below macro which downloads the attachments from a particular folder of outlook. It works perfectly but the only thing is that I need to hardcode the folder name in the below macro which I don't want to do. I thought use the inputbox method so that user can enter the folder name and then macro can download the attachments from that folder which user has entered in inputbox but the user may or may not enter the folder name correctly, so I thought to come up with a userform which will show the Treeview of all outlook folder on the userform and the user will the select the folder from the treeview but I am unsure that how do I use the treeview node selected by the users as a string and use the same in my code in such a way that the code downloads the file from the selected folder.
So far I have the below code which I got from a google search the below code loops through the treeview and checks which node is selected by user. Please help...![]()
Please Login or Register to view this content.
Thanks a lot for your help in advance.![]()
Please Login or Register to view this content.
![]()
Bookmarks