RPC server is unavailable - error when using Rename sheet

Hello. I have a process that uses Rename sheet activity in one its part. After several times of succesfull run, it fails with error bellow

Excel file is not open by another process and, as I said, everything was ok till today’s run.
What can I do to resolve it?

@okalinic,

Try the solutions mentioned in the below Knowledgebase.

@okalinic

First thing looks like you are using kill process inside excel process scope which will close the current instance of excel also…please use it outside or before this if you want to make sure excel is closed

Cheers

Echo @Anil_G Remove kill process from the excel application scope and give a try

Root Cause: One of the possible causes of this error is when output is taken from a variable from the Excel Application Scope, and then the Excel instance is closed (in any way available, by either closing it via activities or killing the process) and then the same variable is used later on in another Excel Application Scope.