Получение ошибки при открытии excel с помощью selenium и C# для автоматизации
Hi All, I am working with Selenium and C# for Automation. one of our requirement that we have to open an excel sheet and some calculate some values like filters, count, Ave etc. I have used below code, but I got an error. Note: I am using Microsot Excel 2007. Thanks,
Что я уже пробовал:
Excel.Application x1Appl = new Excel.Application(); Excel.Workbook x1WorkBook = x1Appl.Workbooks.Open(@"C:\Users\User1\Desktop\Test.xlsx"); Nuget Package "Microsoft.Office.Interop.Excel". error was: "System.Runtime.InteropServices.COMException: 'Exception from HRESULT: 0x800A03EC'"