Hi gmayor,
Well, I finally got around to giving it a try and it works!!! Boy, my VBA skills are VERY RUSTY. Initially I couldn't even get the VBA editor to appear but finally figured it out. Then I imported the form and I thought the code would come with it but then realized I had to copy and paste it from your post into a new module. I did take a look at the Macro security level but did not make any changes and it was set to: Notifications for digitally signed macros, all other macros disabled. I went ahead and ran it and aimed it at a mail folder but nothing happened. Then I realized that folder was the overall e-mail folder but there were no e-mails in that folder only other folders. So I tried it again but selected a folder with e-mails and sure enough a progress bar came up counting the number of e-mails being saved. Once done I looked at the target save folder and there were all the individual e-mails with their file name having the date, time and subject. NEAT!!!! THANKS. Then I figured out how to save it and how to set up the macro on the main HOME ribbon so its easy to access.
One more request, but ONLY if its a simple change! Is there a way to aim the macro at the main e-mail folder, i.e.
xxx@gmail.com and then have it find the folders under that main folder and then save all the e-mails in the each of the folders within a directory folder under the main folder. For example if I had under that gmail folder two folders named Save and Travel and the target save folder was Mail-backup. Then two directory folders would be created under Mail-backup named Save and Travel and the e-mails under the respective e-mail folders would be saved in the directory folders. This is essentially how Win Live Mail and the old Outlook Express saved batches of e-mails.
AGAIN, I appreciate your work and the macro as now is very good and I'll be using it all the time.
Thanks again,
Gerry