Skip to main content
Question

An unknown error happens when I try a bot with the Open Excel command. This is the message: "An unknown error occurred when executing the 'OpenExcel' command. To continue, contact your system administrator." I have excel and path is c drive.

  • Sep 26, 2022 6:46 PM UTC
  • 10 replies
  • 1486 views

An unknown error happens when I try a bot with the Open Excel command. This is the message: "An unknown error occurred when executing the 'OpenExcel' command. To continue, contact your system administrator." I have excel and path is c drive.

10 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+7
  • Most Valuable Pathfinder
  • Sep 27, 2022 7:11 AM UTC

Hi @Spence 6113 (MAXX Potential)​ ,

 

  • No Excel installed: If you do not have Microsoft Excel installed on the device on which you are running bots to automate Excel-related processes, use the Excel basic package.
  • Desktop Excel installed: If you have a desktop version of Microsoft Excel installed on your computer, use the Excel advanced package in your bots.
  • Online Office 365 Excel only: If you are using Microsoft Excel 365 on a web browser, use the Office 365 Excel package for automating tasks related to Excel.

 

Note: If you are using Excel Advance Packages then you need an Office license should active. (Please upgrade or downgrade the excel package version and give it try)

 

https://apeople.automationanywhere.com/s/question/0D52t00000IdoYhCAJ/i-was-trying-to-run-excel-advance-package-to-read-excel-data-below-error-occurred-despite-following-the-right-steps-


  • Author
  • Cadet | Tier 2
  • Sep 27, 2022 1:50 PM UTC

I am using the desktop version with the excel advanced package. In addition to the Excel Open command, the Create Workbook command does not work either.


  • Cadet | Tier 2
  • Jul 14, 2023 5:19 AM UTC

Hi,

 

Has anyone found a solution for this issue. I have tried downgrading and upgrading the packages. However still facing the issue.

 


Forum|alt.badge.img+1
  • Pathfinder Advocate | Tier 6
  • Oct 22, 2024 7:56 PM UTC

@CN998 hi, any solution to this?


Forum|alt.badge.img+7
  • Most Valuable Pathfinder
  • Oct 22, 2024 8:11 PM UTC

@Semih 3318 Some information would help us help you:

  • Package you’re using (Excel Advance/Basic/365
  • File location (Variable/Control Room/Desktop file)
  • Has this ever worked on this machine (new install? updated?)
  • Type of Excel installation?

Forum|alt.badge.img+1
  • Pathfinder Advocate | Tier 6
  • Oct 22, 2024 8:24 PM UTC

@JLogan3o13  using excel advanced

Desktop file.

New task- first try. Havent done any task on this machine. Excel basic work, but need to use excel advanced

Packages are in default.

i couldnt understand the question about type of excel installation


Forum|alt.badge.img+7
  • Most Valuable Pathfinder
  • Oct 22, 2024 8:33 PM UTC

Type of Excel installation - is it desktop install (Office 2021, for example), O365 install, etc?


Forum|alt.badge.img+1
  • Pathfinder Advocate | Tier 6
  • Oct 22, 2024 8:38 PM UTC

it is microsoft 365 install


  • Cadet | Tier 2
  • Jun 4, 2026 4:42 PM UTC

Hi,

 

Has anyone found a solution for this issue. I have tried downgrading and upgrading the packages. However still facing the issue.

 

Have you got the solution??


Forum|alt.badge.img+7
  • Most Valuable Pathfinder
  • Jun 22, 2026 8:10 PM UTC

​@vinit22 You’re going to be asked the same questions, as no one can help you if you don’t provide any info. Are you using Excel Advanced or Basic? What type of Excel (if any) is installed on the machine you’re running the bot on?