Hello,
I am trying to create an automation where it inserts a table (pulled from an excel spreadsheet) into a word document and then saves as PDF. I’ve gotten it so it works the first run through, but I have multiple tables that need to be put in and so I am trying to figure out how to get it to replace one table in the word document with another table. I have it so the table is a variable and it replaces the word ‘spreadsheet’ in the word doc with the table from the variable.
I’ve tried having it locate the variable in the document and replace that but it didn’t work. I’ve tried replace text but the table varies in size and content (can be two lines, could be hundreds). I tried with the ‘insert data table into document’ to have it place after a certain text/phrase but it just inserts the table after the previous table instead of replacing it.
Ideally, if I could have the automation clear all text after a certain point and then input the table, that would be great but I’ve run out of ideas on how to do this. Anyone have any thoughts/has anyone tried this before?