I want to create a MS Excel extension application which should run with any version of the MS Excel. I do not want to maintain different solutions for different versions of excel.
One solution that I am aware of it is to use the lowest supporting version interop library. For e.g. use MS Excel 2000 interop libray if that is the lowest version that you are planning to support. You can use early binding with that interop library. We can only use the features that are available with that lowest version of interop library. Also, we are assuming that the newer versions will be compatible with the older versions and hence the application will work on all the newer versions.
Is anything wrong with the above solution? Are there any alternative solutions?
Note: This question specifically talks about MS Excel but it equally applies to other MS Office products like Word.