Create Reference to Microsoft Excel 12.0 Object Library

In this post , we will explain how to Add Reference to  “Microsoft Excel Library 12.0”.

There are different step that you have to follow to add reference.

Step.1  Open visual stdio and create a window Form Application.



Step 2.  Open Solution Explorer. (Click view and select solution explorer).

Step 3.  Right click References and select Add Reference. New dialoag box will open.



Step 4.  Select COM tab and select Microsoft Excel 12.0 object library.




Step 5. Click Ok and Reference will be added to your project.

Now you can use classes of this library in your c# code.

Thank for Reading..
Enjoy.





Post a Comment