This is a extra thing in similarity to my previous post.

Iam starting to figure more things out with my codes, but i wonder about
"txtBringToClass", if this will do the trick so that a user can press enter in the textbox, and this will give a new lin into the the bookmark in document called "bmTaMed". At my first try with only using multiline and enter formfieldbehavior, did not do sufficient, or expected actions.

In the document, do i need to make the textfield, long? (within the field press enter to apply multiple lines ) Or can i leave it without any like that ?

I use textfield incase the pop up will not load with the document.
I also want to protect the form with a blank password, to prevent undecired editing. But will the code work if the template is restricted to only fill in form?

PHP Code:
Private Sub cmdDone_Click()
With ActiveDocument
        
.Bookmarks("bmVedrørende").Range.Text Me.txtCourse.Value
        
.Bookmarks("bmKursdato").Range.Text Me.txtDate.Value
        
.Bookmarks("bmKurstid").Range.Text Me.txtTime.Value
        
.Bookmarks("bmTaMed").Range.Text Me.txtBringToClass.Value
        
.Bookmarks("bmHeading").Range.Text Me.cboHeading.Value
End With
        frmCourseDetails
.Hide
End Sub

Private Sub txtBringToClass_Change()
    
With Me.txtBringToClass
        myarr 
Split(multilinetextbox.TextvbNewLine)
        For 
0 To UBound(myarr)
        
myarr(i) = Trim(myarr(i))
        
Next
    End With
End Sub

Private Sub frmCourseDetails_Initialize()
    
With Me.cboHeading        
        
.AddItem "Invitasjon til kurs"
        
.AddItem "Endringsmelding"
        
.AddItem "Oppfriskningskurs"
    
End With
End Sub 
And within the <code> brackets, this is reference to Super Office database codes (just to explain)

And can i with the bookmarks for like "bmAttfirm" wich is a textfield with cde reference to a customer from db, be able to write code for : save as filename?
Example: xxx-zzz-yyy-oooo-1234
xxx=if a customer name would be: Bayline Mechanical Worksop, this will result in: BMW
zzz=some letters from another bookmark telling me to whom it was sendt to.
yyy= bookmark who authored it
oooo= year, or "ddmmyyyy" or "ddmm"
1234=sequense/serialnr



Thank u all so much