Preserving HTML code in Word doc

Hello,

I have a big stylized text with HTML code and after the text is sent via Email I want to save it into a Word document but of course with its styling.
Word has a function for that: Insert->Object->Text from a file… (you pick the file and whole styling is preserved).

Do you know a method to do that using activities?
Thanks in advance,
Vlad

https://www.online-tech-tips.com/computer-tips/how-to-save-web-page-to-word-document-fast-and-easy/#:~:text=Under%20Save%20As%20Type%2C%20select,file%20will%20open%20on%20Word.