I'm working on a project that I would like to use with multiple versions of Word 2007/2010/2013.
Word 2013 has a few new features that I want to incorporate, but doing so causes compile errors when I try to use the project in Word 2007 or 2010. I've figured out how to avoid that by using a conditional compilation statement:
#Const Version = 15#
Will let the code run only if I'm using Word 2013. The problem (question) is to use the tool in Word 2010 I first have to open the project and change to:
#Const Version = 14#
That just seems clunky and I'm hoping there is a better way? It would sure be nice if I could just:
#Const Version = Application.Version
but that won't work.
Thanks