All,
I would like to populate a word document using a windows form (i.e. have a user enter text into a textbox in windows form (i.e. textbox1) and then click submit and have the application open a word document that I have created and place the users text into a form field using a bookmark (i.e. bookmark1).
I have done this in Access using VBA (i.e. using WordDocument.Fo rmFields("Bookm ark_Name").Resu lt = Forms("Form_Nam e").Field.Value ) but can't get this to translate into VB.NET. I have the form designed and am able to open the document, but can't get the text to populate.
I am using VS Pro 2K5 and Office 2K3.
Thanks in advance!
Jeff
I would like to populate a word document using a windows form (i.e. have a user enter text into a textbox in windows form (i.e. textbox1) and then click submit and have the application open a word document that I have created and place the users text into a form field using a bookmark (i.e. bookmark1).
I have done this in Access using VBA (i.e. using WordDocument.Fo rmFields("Bookm ark_Name").Resu lt = Forms("Form_Nam e").Field.Value ) but can't get this to translate into VB.NET. I have the form designed and am able to open the document, but can't get the text to populate.
I am using VS Pro 2K5 and Office 2K3.
Thanks in advance!
Jeff
Comment