Choosing a version of Microsoft Office Primary Interop Assembly

I am writing a .NET application that uses Excel. Any version of Excel from version 97 or later is acceptable, but I don’t know which version any particular client will have. Installing Microsoft Office PIA through the bootloader is not a problem.

What version of PIA should be included in the installation package? Do I need each version of PIA or will one version of PIA cover all required versions of Excel?

+5
source share
1 answer

Using the earliest version of PIA should work, albeit informally, see MS Office PIAs "Backward Compatibility" . Using a later version may or may not work, and is not recommended.

+6
source

All Articles