Powershell: Create multiple files from a Word template and rename using a list in Excel/CSV
Vince @ Vince @lemmy.world Posts 1Comments 80Joined 2 yr. ago
Vince @ Vince @lemmy.world
Posts
1
Comments
80
Joined
2 yr. ago
Sounds like you're just copying a template to new files based on a csv? You don't have to edit anything inside the word files at all?
If that's the case, just load the csv file, I think the command is Read-Content, loop through each line, split by ',' parse whatever name data you need and copy your template.docx to your new file.docx