Selecting a Microsoft Office Primary Interop Assembly version

calendar_today Asked Jan 24, 2012
thumb_up 6 upvotes
history Updated April 16, 2026

Question posted 2012 · +5 upvotes

I’m writing a .Net application that utilises Excel. Any version of Excel from ’97 or later is acceptable, but I don’t know which version any particular client will have. Installing the Microsoft Office PIAs through a bootstrapper is no problem.

Which version of the PIA should I include in the installation package? Do I need every PIA version, or will one PIA version cover all required Excel versions?

Accepted answer +6 upvotes

Using the earliest PIA version should work, albeit unofficially – see MS Office PIAs "backward compatibility". Using a later version may or may not work, and is not recommended.

Top ms-office Q&A (6)

+6 upvotes ranks this answer #10 out of 14 ms-office solutions on this site .