Windows Server 2022 Version

I'm trying to convert the output of a form into a word document. I have followed this process, but I only get html output and need the output to ordered down the document, not just as headers, as this will be signed off by Project Managers.