text boxes

  • Thread starter Thread starter Savio
  • Start date Start date
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?
 
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
 
Back
Top