I was recently using the read range activity to read from an excel file. Despite providing the correct file location and sheet name, I kept receiving the error message: “Object reference is not set to an instance of an object". When I added a new Read Range activity with the same properties, it resolved the issue and worked as expected.
Has anyone experienced a similar issue? Any insights on why the original Read Range activity failed while the new one worked would be greatly appreciated.
I was testing a few things and since Workbook activities are generally faster than Excel activities, I thought it would be more efficient for validation purposes. In the actual process, I’m using Excel Application Scope with Read Range, and it works well. Thanks for the suggestion!
The issue actually occurred after a recent update, so it’s likely related to that. Before the update, everything was functioning, and I haven’t made any significant changes to the project.