from form to document

A

Alvin Hansen

Hi!!
Can someone tell me how i get a text value from a form into
a document,

Best regards

alvin
 
A

Alvin Hansen

Thanks its working
i juse this example.
With ActiveDocument
.Bookmarks("Text1").Range _
.InsertBefore TextBox1
.Bookmarks("Text2").Range _
.InsertBefore TextBox2
End With

But how do i do it if i have a textfield in my document
how can i say that this textfield shall have the value from TextBox1 in my
form

hope yoou can explain it to me
I know how in excel but not in word

Alvin


"Al Borges" skrev:
 
D

Doug Robbins

Exactly what do you mean by a "textfield"

If its a Text Form Field as used in a protected document, then you can use

ActiveDocument.Formfields("FormFieldBookmarkName").Result = TextBox1

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top