I have a word template which I edit.
Therefore I the following steps:
- Extract data from Excel file and write into variables
- Create new file with dynamic name from extracted variables, e.g. name + currentdate + “docx”
- Open this newly created file and replace placeholder text with extracted variables
Step 3 doesn’t work for me, because I always get the error, that the given paths format is not supported.
Here’s what it looks like:
“D:\my robot\results” + Today + “-whatever-” + name + “.docx”
(note: bolded text are previously extracted variables)