Aastate of Ok button in Excel is now behaving differently, need help

image
image

Update your selector and try.

<wnd app='excel.exe' cls='Net UI Tool Window' />
<wnd cls='NetUIHWND' />
<ctrl name='OK' role='push button' />