How exactly are you writing to MS Word? Are you using the user interface, or are you using some scripting, like VBScript/PowerShell? If you're doing it via the user interface, the easiest would be sending the keystrokes as suggested by @UshaJyothi20 before typing in the values. If you're using scripting, certain formatting can apply, but the specific syntax depends on which scripting language you're using.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.