Issue with Close workbook activity


My coding has issues with the closing activity of the Excel. It says that the object reference is not set to an instance of an object.
Anything to do with the variable? I am lost :frowning: thanks


check if the excel application scope outputs avariable that is in scope and not null when using close workbook activity. Just debug it stepwise and analyze it more in detail

1 Like


thatโ€™s due to you Close workbook Variable is getting null

Can you check


The output variable probably isnโ€™t populated until the Excel Application Scope completes, so the Close activity would have to be after EAS. This is just based on Terminal Session working the same way.

was working on my end

As you can see, paused on DO Block, we already can access
Also it was executed without exception

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