I've tried this help there, but it didn't help me.
When creating the userform it doesnt work quite as i would like:
In modules:
Sub AutoNew()
'
' AutoNew Makro
'
'
UserForm1.Show
End Sub
Loads the form
then in forms:
Private Sub CommandButton1_Click()
With ActiveDocument.Bookmarks("bmKursdato").Range.Fields(1).Result.Text = TextBox1
.Bookmarks("bmKurstid").Range.Fields(1).Result.Text = TextBox2
.Bookmarks("bmTamed").Range.Fields(1).Result.Text = TextBox3
End With
UserForm1.hide
End Sub
The first line responds fine with the textfield in the doc, but for the next lines noting.
The info in link did nothing like expected.
This was a simple pop up, with three txtboxes to fill in to a document with standarized text
I am a newbie