A Good example. I got the logic but as I am getting issue with word application I was not able to run it successfully. I even tried the project from UiPath but same issue.
Error: The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER
If anyone also got the similar issue and was able to correct it then please let me know the solution as well.