c# - How to refrence Excel in .Net application? -


it's showing me error @ below highlight area

using excel = microsoft.office.interop.excel; 

tried add reference there 2 references like

microsoft office 5.0 object library 1.0 c:\program file\microsoft office\office\xl5en32.olb microsoft office 9.0 object library 1.3 c:\program file\microsoft office\office\xxcel9.olb

i added reference excel .exe throwed error i'e., refrence 'c:...\excel.exe' cannot added.please make sure file acessible , tha valid assmbly or com component.' please suggest if need add references or needs done....


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -