cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KotaroKo
Helper III
Helper III

Copy Excel data to the word file

Hi, guys! So, I have an excel file with table. In this table I have Name, Surname, Mail and Tel Columns. I want to add all this info into the word template file. It works great if i have only 1 row. If there are many rows, only the last row is present in the newly created word file.flow.PNG here is the screenshot of my flow. The question is, how should i modify all the fields in word document from developer mode, so that all the content from excel file is added to word file and not only the last one. I marked the fields in word file as repetitive content but it does not help.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @KotaroKo,

 

You could have a try that initializes an array variable to store these columns, Create Append to the array variable, then put the array into the Populate A MS word template action:

Annotation 2020-04-01 181252.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @KotaroKo,

 

You could have a try that initializes an array variable to store these columns, Create Append to the array variable, then put the array into the Populate A MS word template action:

Annotation 2020-04-01 181252.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,357)