System.Globalization breaks click activity

Hi,

I figured out, my assign System.Globalization.CultureInfo.CurrentCulture = new CultureInfo(“pl-PL”)

breaks click activity in Excel. Error appears: Click: Could not find the user-interface (UI) element for this action.

When I comment out assignment, everything works fine.

Why error appears and how to solve it?

Hello @norbert1

Can you plz share the screenshot of the workflow that you have created?

Also, have you provided this expression in the click activity?

Also why you are looking for a uI based automation for excel instead of using Excel package?

@norbert1 Can you share the screenshot of your click activity and also please explain what you are trying to pass in the click activity

Hello @norbert1

What is the actual use case here? Any specific reason for ui based automation in excel?