5

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?

Hand-E-Food
  • 12,368
  • 8
  • 45
  • 80
  • You can only support the versions that you have access to. So you can test your code and answer customer support calls. You'll need an MSDN subscription if you want to support them all. – Hans Passant Jan 24 '12 at 23:16
  • @HansPassant, fair call on support. All I'm doing is reading a large array of values. Hopefully they haven't changed that part of Excel to much! – Hand-E-Food Jan 24 '12 at 23:48

1 Answers1

6

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.

Community
  • 1
  • 1
PinnyM
  • 35,165
  • 3
  • 73
  • 81