Exception from HRESULT: 0x800A9C68

excel
activities

#1

Scenario:Execute Micro

Steps to reproduce:Execute Micro from Excel Scope

Current Behavior: Exception from HRESULT: 0x800A9C68

Expected Behavior: Run without exception

Studio/Robot/Orchestrator Version:Latest

Last stable behavior:
Last stable version:
OS Version: Win7
Others if Relevant: (workflow, logs, .net version, service pack, etc):testMicro has thrown an exception

Source: Execute macro

Message: Exception from HRESULT: 0x800A9C68

Exception Type: ExcelException

UiPath.Excel.ExcelException: Exception from HRESULT: 0x800A9C68 —> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A9C68
at Microsoft.Office.Interop.Excel._Application.Run(Object Macro, Object Arg1, Object Arg2, Object Arg3, Object Arg4, Object Arg5, Object Arg6, Object Arg7, Object Arg8, Object Arg9, Object Arg10, Object Arg11, Object Arg12, Object Arg13, Object Arg14, Object Arg15, Object Arg16, Object Arg17, Object Arg18, Object Arg19, Object Arg20, Object Arg21, Object Arg22, Object Arg23, Object Arg24, Object Arg25, Object Arg26, Object Arg27, Object Arg28, Object Arg29, Object Arg30)
at UiPath.Excel.WorkbookApplication.RunMacro(String macroName)
— End of inner exception stack trace —
at UiPath.Excel.Activities.ExecuteMacro.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


#2

please close all the opend excel .the matter will be solved


#3

All the excel files are already closed. But, i am still facing the same issue.

Main has thrown an exception

Source: Execute macro

Message: Exception from HRESULT: 0x800A9C68

Exception Type: COMException

System.Runtime.InteropServices.COMException (0x800A9C68): Exception from HRESULT: 0x800A9C68
at UiPath.Excel.Activities.ExecuteMacro.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


#4

Hi @anbudenanu

Could you test a simple “Hello world” type of macro to see if it works?