Hi,
I doing one Excel Automation. Deleted last row in pivot table using invoke vba the read range pivot table that time i got an error below attached my both screenshot error and work flow .
Thanks
Parvathy
(PS Parvathy)
June 19, 2024, 8:15am
2
Hi @MD_Farhan1
Try re running your process once again.
Regards
@MD_Farhan1 ,
Refer this Knowledgebase for the root cause.
Excel Application Scope : The Object invoked has disconnected from its clients. Exception from HRESULT : 0x80010108(RPC_E_DISCONNECTED)
Try to understand the process and use case
Isolate the Excel file and verify whether the Excel Application Scope is present inside the scope of a loop
Add the Close workbook activity in each iteration
Call the garbage collectors explicitly in the code in the places where the crash was encountered and also at the end of the code
Use Invoke Method activity - S…
Thanks,
Ashok
supriya117
(Supriya Allada)
June 19, 2024, 8:22am
4
Hi @MD_Farhan1
Remove the Excel from the task manager manually and rerun the Process
Regards
vrdabberu
(Varunraj Dabberu)
June 19, 2024, 8:59am
5
Instead of read range activity use the read range workbook activity and place that ativity outside of the application scope. @MD_Farhan1
Regards