10

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!

you are viewing a single comment's thread
view the rest of the comments
[-] mikyopii@programming.dev 2 points 4 months ago

Does it have to be a Word template? If you can get that into a plain text format this will be much easier. There may be a module that you can download online otherwise you are probably going to have to do some painful parsing after you import the file using "Get-Content".

Do you have any code written? This sounds like something that ChatGPT could probably handle pretty well.

[-] BobTheDestroyer@lemy.lol 2 points 4 months ago

It does have to be a Word template. It has a bar graph and various texts.

[-] mikyopii@programming.dev 2 points 4 months ago

Yeah, I looked at the plain text of a .dotx file. That's unparsable. The other poster probably has the right idea on how to get information out of the file.

this post was submitted on 22 Mar 2024
10 points (100.0% liked)

Programming

16687 readers
158 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS