Exception (HRESULT: 0x800AC472) when using Excel.Worksheet.Select after calling Excel.Workbook.SaveAs

In my case, the exception was been thrown because my excel Interop tools was displaying a modal dialog (associated with a expired licence key – shame on me). If I closed the dialog (which was been displayed in the background) and then hit ‘continue’ in Visual Studio, the program was able to connect to the xlsx file and retrive data succesfully.

Leave a Comment