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:

  1. Create multiple files from a Word template.
  2. Rename each file based on a list of names found in an Excel/CSV sheet.

Thanks in advance!

  • @[email protected]OP
    link
    fedilink
    16 months ago

    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.

    • @purplemonkeymad
      link
      26 months ago

      Make sure the columns in your csv are named properly, my code assumes it’s named just “name”

      • @[email protected]OP
        link
        fedilink
        16 months ago

        By the way, what would be the equivalent code when using a text file for the list of names rather than a csv file?