View Single Post
 
Old 04-14-2015, 10:15 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
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

Uncheck the Microsoft Outlook object library and change the code to late binding. In this case
Code:
Dim oOutlookApp As Object
There will undoubtedly be other lines that need changing and calls to Outlook specific commands will have to be replaced by their numeric equivalents, but it should make the macro less reliant on Office versions.
__________________
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