I have spent hours trying to figure out how to get data in my template to duplicate itself
I cannot get the cross reference to work
Can someone PLEASE help me with the coding and let me know what I need to change or add on my user form. I just want to be able to repeat "CandidateFirstName" a number of times on the document
This is what I have todate
Private Sub CommandButton1_Click()
Dim CandidateFirstName As Range
Set CandidateFirstName = ActiveDocument.Bookmarks("CandidateFirstName").Range
CandidateFirstName.Text = Me.TextBox1.Value
Dim CandidateSurname As Range
Set CandidateSurname = ActiveDocument.Bookmarks("CandidateSurname").Range
CandidateSurname.Text = Me.TextBox2.Value
Dim JobTitle As Range
Set JobTitle = ActiveDocument.Bookmarks("JobTitle").Range
JobTitle.Text = Me.TextBox3.Value
Dim ContactFullName As Range
Set ContactFullName = ActiveDocument.Bookmarks("ContactFullName").Range
ContactFullName.Text = Me.TextBox4.Value
Dim ContactTitle As Range
Set ContactTitle = ActiveDocument.Bookmarks("ContactTitle").Range
ContactTitle.Text = Me.TextBox5.Value
Dim CompanyName As Range
Set CompanyName = ActiveDocument.Bookmarks("CompanyName").Range
CompanyName.Text = Me.TextBox6.Value
Dim ConsultantName As Range
Set ConsultantName = ActiveDocument.Bookmarks("ConsultantName").Range
ConsultantName.Text = Me.TextBox7.Value
Me.Repaint
UserForm1.Hide
End Sub
THANKS