Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
Infragistics.Documents.Excel.Workbook.Load Error Object reference not set to an instance of an object.
posted

I am getting error (Object reference not set to an instance of an object) while trying to load excel file with macro. This is the old version of excel in which macro saved in the same .xls extension. I can provide the sample file if needed. 

Code:

Infragistics.Documents.Excel.Workbook.Load("c:\temp\test.xls");