Exception from HRESULT: 0x800A16C1

Hi,
I am getting the following error message when using the a Word Resource → Replace Text activity within an Excel Resource → For Each Row activity:

Something went wrong with an Action.
Activity Use Word File (Word Application Scope) failed:
Exception from HRESULT: 0x800A16C1
You can find the activity following this path:
Main > Use Excel File > Excel For Each Row > Use Word File.

Any ideas?
Jan

Hi @jan.toennissen

You can use delay activity and set 00:00:05 before opening or writing the word file (or )
1.) Make sure the path you’re providing in the Excel Application Scope is valid. Set a breakpoint and verify this in the locals section.

2.) Make sure there is nowhere else in your process where you open the workbook. Even if you kill the Excel process, the workbook can still be locked by a different process.
Regards
Gulshiyaa

1 Like

Hi @gulshiyaa,
that delay activity worked perfectly!
Thank you so much!
Jan

If this’s your solution please mark as solution

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.