Hi Team,
I'm trying to access excel sheet from test studio by using the code,
Microsoft.Office.Interop.Excel.Application mobjExcelApp = new Microsoft.Office.Interop.Excel.Application();
But it returns the error message as "Cannot find the interop type that matches the embedded interop type 'Microsoft.Office.Interop.Excel.Application'. Are you missing an assembly reference? "
I have added the .net assembly for Excel from the location "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.Tools.Excel"
Can you please tell me how to solve this issue ?
Thanks & Regards
Aneesh
I'm trying to access excel sheet from test studio by using the code,
Microsoft.Office.Interop.Excel.Application mobjExcelApp = new Microsoft.Office.Interop.Excel.Application();
But it returns the error message as "Cannot find the interop type that matches the embedded interop type 'Microsoft.Office.Interop.Excel.Application'. Are you missing an assembly reference? "
I have added the .net assembly for Excel from the location "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.Tools.Excel"
Can you please tell me how to solve this issue ?
Thanks & Regards
Aneesh