Thread: [Solved] Downloading attachments
View Single Post
 
Old 05-20-2016, 06:44 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The code should be in an ordinary module and not ThisOutlookSession and there must not be another macro with the same name in the project. Outlook can be fussy with macro code. You will probably need to digitally sign the project for the code to work - see http://www.gmayor.com/create_and_emp...gital_cert.htm

The code adds (1), (2) etc to the filename if it exists in the target location.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote