I have placed a customized menu item in MS Word 2000 that launches a VBA program that permits the user to make a selection from a list of HTML submission forms. e.g., Contact Us, etc.
The user selects a specific form, and the VBA app calls a stubbed function in an ActiveX EXE automation server that creates the HTML form on-the-fly based on XML/DTD docs and returns the "raw" HTML code.
I then "smack" the HTML form into MS Word at the current cursor location using:
It work fine... It looks correct on the screen... EXCEPT...
Word arbitrarily inserts a </form> statement immediately after the first element (e.g., textbox).
Obviously, there must be a better approach than simply reading a file directly into Word.
Can anyone assist me in this regard?
Thanks in advance.