Skip to main content
Question

An unknown error occurred when executing the 'OpenExcel' command. To continue, contact your system administrator.

  • February 29, 2024
  • 5 replies
  • 373 views

Forum|alt.badge.img+1

I am trying to access the excel file using advance excel, I have given correct path and I have a license version of Microsoft office. while running bot I have a following error, kindly help me.

“An unknown error occurred when executing the 'OpenExcel' command. To continue, contact your system administrator.”

5 replies

Forum|alt.badge.img+1
  • Automation Anywhere Team
  • 3 replies
  • February 29, 2024

Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 1 reply
  • February 29, 2024

Hi Shikha, this link is on customer portal, I am not able to access this. can you please post the solution here instead of link.


Forum|alt.badge.img+1
  • Automation Anywhere Team
  • 3 replies
  • February 29, 2024

Please register at Apeople.

 


Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 3 replies
  • March 1, 2024

Hi @shyamkalaskar I had the same issue recently and it was related to the VBA code in the file. So if the file you are trying to open is .xlsm then I found a workaround which was to tick the reference ‘AccessibilityCplAdmin 1.0 Type Library’ under Tools>References in VBA and after that was done and saved, the Excel Advanced: Open error stopped. 


Forum|alt.badge.img+12
  • Pathfinder Advocate | Tier 6
  • 533 replies
  • March 7, 2024

Hi, be sure that you have the excel file which you mention in OpenExcel command. then you may try restarting controlroom service, and try again