I can't say that I created the code specifically for you. I have posted variations of it before. I just changed it a little to suit your requirement.
As long as the named folder (taken from your original) exists, the code should work without alteration.
It all goes in one module. Add a new module to the project and paste it there.
The first line of that module should be
which forces the declaration of variables.Option Explicit
If you encounter problems with Outlook security - see
http://www.gmayor.com/create_and_emp...gital_cert.htm





Reply With Quote
