How can I insert a string containing HTML into a Microsoft Word document at a specific position? I am aware of the function "InsertHTML", but the API does not specify where it inserts the HTML.
What I am trying to achieve is the following:
I need to open a Microsoft Word document, which contains special keywords, like "[$Paragraph1]" and so on. Those keywords need to be replaced with some HTML. The function "Replace" can only replace plain text (according to the API), so I need to use the function "InsertHTML".
Could someone please give an example of how I can achieve this?