text boxes

S

Savio

ive got a word doc in which i have added some text boxes. ive also got
a user form which enables text input into text boxes in the user form.
wat set of codes can i use to take the input values and put them into
the text box on the word doc?
 
C

CurlyDave

This is an excel Forum, but I believe this could work, it should
insert your textbox value after the last text on the document

Private Sub CommandButton1_Click()
ActiveDocument.Content.InsertAfter Text:=" " & TextBox1
Unload Me
End Sub
 

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