Read multiple word files from a folder and paste into an excel

Hi,
I’m trying to automate a process wherein we have multiple word files in a folder. word files have data in tables. I have to copy the data from each word files then paste in a draft excel then paste the required data into final excel.
Process
Open Word → read data → paste to draft excel - Paste into final excel.
This needs to be done for each word file.
Please help.
I have used an assign activity and given the path to the directory having docx files.
How should i proceed with For each

Hi
Please follow below steps

  1. System.io.directory.getfiles will give list of all doc files
  2. Use for each loop and read word doc
  3. Parse text and write range into excel

Hi @anujkaul
Use directory.getFiles(WordFilePath)
Use for each item in WordDoc
Use word application scope
and use read text
and use writhe range of the text

Thanks
Ashwin S

1 Like

Could you please share a sample workflow. I’m not able to upload due to company policy.
It would be helpful.

Could you please share a sample workflow. I’m not able to upload due to company policy.
If possible

Could you please share a sample workflow. I’m not able to upload due to company policy.
It would be helpful.
Thanks