TextControl MailMerge does pretty much exactly what you're trying to do. See this article to get you started: https://www.textcontrol.com/blog/2023/06/07/an-ultimate-guide-to-mail-merge-with-ms-word-documents-in-csharp/