Error: "Excel Application Scope_1: Error opening workbook. Make sure Excel is installed."

Hi Friends,

w

I try simple following action :
write a datatable into an excel file.
I get the follwing error : “Excel Application Scope_1: Error opening workbook. Make sure Excel is installed.”

This message is incomprehensible because Excel is installed and work perfectly, I use it daily.

So please what is the problem?

Amar

I use Uipath Studio Pro 2020.10.0-beta-149

Hi @AmarBouz

Try to reinstall package again and check

Hope it helps

Nived N

Happy Automation :relaxed::relaxed:

Hi Nived,
Thanks for your help.
Reinstall package what do you mean, Excel package?
Amar

Uninstall the excel activitiy package and reinstall it again

I Uninstall the excel activitiy package and reinstall it again, as told me to do.
Now I get another error message : “Excel Application Scope: Error opening workbook. Make sure Excel is installed.”

So what is the problem?
Is it the version of UIPath ( StudioPro 2020.10.0-beta-149)? It’s not stable?
or is the version of Excel Package (2.9.3-beta.1188448)?

Or my code? But it’s so basic, as you can see below
2020-10-04_07h49_13

@AmarBouz

Try to use Write Range → Workbook activities instead of Excel Application scope

Follow Link for your reference

Hope this will clears your issue

Thanks

1 Like

Hi Ksrinu,
Thanks for the advice.
It works fine with Write Range → Workbook.
Is there a limitations with Write Range → Workbook ?

Amar

@AmarBouz

We can use .xlsx file extension files only with Workbook activities

For Excel application scope you can use .xls, .xlsx, .xslm file extensions also

The error you are facing could have many reasons

So if you have only .xlsx file extensions then you better to use workbook activities

Hope this helps you

Thanks

Hi Friend
It helps a lot.
Thank you again you are so kind.
Amar

1 Like

@AmarBouz

Glad It helped you

Follow Link

Happy Automation

Thanks

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