I have a flowchart where I would like to replace some text in a Word document based on a Excel list.
The flowchart has to perform some certain actions for each line in the Excel sheet. It has to copy the file and name it and replace some text in the Word file. However in my For Each function I can only get it to replace the first variable. I tried to have multiple for each function within each other, but I can’t seem to get it to work.
Are there any way to get around this? Because I’m using the read column function it says I need to use IEnumerable.
Essentially I just need to replace some texts in a Word document created for each person based on a single Excel input. Output should be attached with the Word filename as the persons name.
I can get it to change the names in the for each, but not the other text.
What is the structure of the excel file? and how you planning to proceed. The Read Column read entire column. (A2 to end of column). Either you can read cell if you know the cell range or read the entire excel sheet as data table and then extract the data you need. Please search in the forum on how to read the excel sheet and working on data tables.