Thought in the same direction but the problem is the click activity is not triggered because the code stops in the Remove duplicates excel activity.
Only after clicking an option in the popup, the code continues to proceed. At that time when reaching the click activity the popup is obviously gone because you clicked something before…
Is there maybe an option to run activities in parallel?