System exception at initialization: Failed setting the current sheet to: Sheet1 in workbook:

System exception at initialization: Failed setting the current sheet to: Sheet1 in workbook:

@oraganti931

Try upgrading the excel activities…

Also can you show which activity is causing and what exactly you are passing as inputs

cheers

I am using latest version of excel dependency.

Hello,

Can you share the snapshot of the workflow you are using it? and how you are passing the arguments


Hello,

At which Activity you are getting error ?
Can u check if dt_ReportDataTable has data or not?

I have checked it has data . It is working fine in DEV VM, but i am getting this error in UAT VM.

Hi @oraganti931

In UAT at Which step it is throwing an error?
are you running from orchestrator or UiPath assistant?

HI @oraganti931

Have you tried with Classic Excel Activities or Workbook activities?

If not give it a try once

Regards
Sudharsan

Thank you everyone for your quick response
@Anil_G @Ashish_Saxena @Sudharsan_Ka .
The issue has been resolved. The issue because of excel application itself. Due to some alerts i have got that error. Once i have clicked ok for all of that then it has been resolved.

Thank you
Aravind

2 Likes