Problem when replacing text in PowerPoint


I’m developing a robot that creates a powerpoint file from a template with variables to replace. For a long text the activity Replace Text in Presentation doesn’t work and returns the exception below :
Replace Text in Presentation: Error HRESULT E_FAIL has been returned from a call to a COM component.

Do you have a solution for this ?


Hi @othmen.rebai

Could you maybe provide a sample workflow file that reproduces the issue?
This together with the version of the activity package that you were using in the project would help a lot.

In this package, you have 2 activities to solve your issue.

  1. find and replace activity
  2. Data transformer - load the variable name and replacing values. It will replace all in a single execution.


This will resolve if you open the processing PowerPoint file and do the activity.