Hi There,
I suggest checking the differences between UAT and Production such as Excel version plugin and user permission and privilege.
If your code works with the DEV/UAT environment, and it does not work in Production, it usually environmental and permission issues.
Check the event logs and session logs.
------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------