I’m a beginner to Powershell and CLI in general, but this task does not need to use either so I’m open to using other tools.
I’m trying to do the following:
- Create multiple files from a Word template.
- Rename each file based on a list of names found in an Excel/CSV sheet.
Thanks in advance!
Hey this worked for me yesterday but now I’m having trouble getting it to work again. It just outputs a Word doc titled ‘.docx’ now.
Make sure the columns in your csv are named properly, my code assumes it’s named just “name”
By the way, what would be the equivalent code when using a text file for the list of names rather than a csv file?
Ah, I think that was it. Forgot about the column heading. Thanks for your help!