I have gone through almost all the thread relating to “Exception from HRESULT: 0x800A9C68” error in this forum. However, i am unable to get rid of this error.
I have 7 macro files inside a workbook sheet. Have to invoke one by one after each macro completes its run.
As soon as the first macro completes its work i’m getting this error. Any help is appreciated.
To provide more info:
I am using excel application scope
Using Execute Macro activity
I am not authorised to change any content inside the macro. All i should be doing is to invoke them.
Using an “On element appear → Click activity” on parallel to handle one of the known popups
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Runtime.InteropServices.COMException: 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)
If you are ok with running the Macros individually, try using different excel application scopes for running multiple macros. But will also give you the error as your excel is being closed by the macro and excel application scope still looks to close the same excel