Close Workbook: Object reference not set to an instance of an object

when i close workbook after completeing one process then it give error

Hi @dhanashree22

Please check with the variable that you have passed for close workbook activity!

It must be the out variable of the excel application scope and check the variable has duplicated in variable Pane!

Regards

Thank you.

Hi @dhanashree22

Does its Worked!

Regards

Yes sir.

Actually I create output variable in excel application scope and use into close workbook.

@dhanashree22

Please mark solution to my post and close the thread so that it may be helpful for Others!

Regards

If you’re just doing simple things like reading and writing to Excel, you don’t need Excel Application Scope. Use the Workbook activities.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.