Set to bookmark double not replacing text in word

i use a foreach loop using excel for the data and i want to change a specific text in word using set to bookmark

it works in the first loop, but in the second loop with a different data it will double not replacing the previous text :
image

here is my excel sheet for reference :
image

i tried replace text but it won’t work in a foreach loop
how can i replace specific text continuously in a loop ?

@mdaffakhairy

You have to save the word template using copy file after every iteration it has to copy the file and paste in the folder.Then use the template for every iteration.

yes it worked so what i did is use copy file action before and outside the word application scope, then i use the pasted file inside the word application scope and then set the bookmark, thank you

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