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");

Parents
  • 21795
    Offline posted

    Hello Shoaib,

    Loading of Excel workbook containing VBA code is supported in Infragistics Excel Engine. To investigate this further I will need the file you are not able to load. Therefore, please send this file so I can look into this.

    Looking forward to your reply.

Reply Children