ChickSentMeHighE
ChickSentMeHighE

Reputation: 1706

Excel Reference COM vs .NET

What is the difference between adding a reference to Excel 11.0 from .NET vs COM?

(In C# if that even matters)

-Edit- To clarify, I am talking about the .NET and COM tabs in the Add Reference dialog, thanks for pointing that out Hans Passant.

Upvotes: 2

Views: 599

Answers (1)

Hans Passant
Hans Passant

Reputation: 941715

I assume you mean the .NET and COM tabs in the Add Reference dialog. There is no difference if your machine is setup properly. Which it is if you see Excel listed in the .NET tab. That means you've got the Office PIA installed on your machine, either reference will pick that PIA. That PIA also needs to be installed on the target machine.

Upvotes: 5

Related Questions