views:

21

answers:

2

In C#, I'm using the Microsoft.Office.Interop.Excel reference v12.0.0.0, which (I think) corresponds to Office 2007.

I guess that my program won't run on computers without Office 2007 or above ? What should I do ?

+1  A: 

Use late binding and write your code to only use features available in the lowest version that you want to support.

If you don't know the difference between late and early binding, this article should be useful: Binding for Office automation servers with Visual C# .NET

ho1
Ok thanks for your answer.
Julien