Automate Process of Merge File

Hello guys

I want to automate the process of merge Word file, and I created a robot like this

And if I can go to the folder I want, how can I specify the folder I want to select, and how to select all the Word document into the enter box?

Thanks for help!

Hi @CHAN_Hiu_Fung_Victor_Stud

You can try to read all the file paths using
Directory.GetFiles(FolderPath,“*.docx”)

Loop through all of them
use an assign activity, append all the file paths separated like this
“FilePath1” “FilePath2” “FilePath3”

Here’s the solution
MergeDocs.xaml (14.3 KB)

Just Configure the folder path in the first assign activity and word file name for FinalFile.docx

1 Like

Thanks, i will try it later!!!

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