J
JohnS
I have an automatic document template for Microsoft Word using VBA to
display a User Form into which the user enters information. The
standard document has bookmarks to get the right info at the right
place.
With ActiveDocument
.Bookmarks ("Name").Range.Text = txtName.Value
.Bookmarks ("Adres").Range.Text = txtAdres.Value
etc.
End With
What I want is to use Form fields instead of bookmarks to get the
information from the user form transferred to the right form field. Is
it possible to place the bookmark IN the field? Anyone can help me
with the vba code to get this working?
Thanks!
display a User Form into which the user enters information. The
standard document has bookmarks to get the right info at the right
place.
With ActiveDocument
.Bookmarks ("Name").Range.Text = txtName.Value
.Bookmarks ("Adres").Range.Text = txtAdres.Value
etc.
End With
What I want is to use Form fields instead of bookmarks to get the
information from the user form transferred to the right form field. Is
it possible to place the bookmark IN the field? Anyone can help me
with the vba code to get this working?
Thanks!