P
Patrick C. Simonds
Can anyone tell me why the code below does not insert the text at
Bookmarks("LastName") into TextBox1?
Private Sub UserForm_Initialize()
'Places data in the userform text boxes if it exists on the spreadsheet
If ActiveDocument.Bookmarks.Exists("LastName") Then
TextBox1.Text = ActiveDocument.Bookmarks("LastName").Range.Text
End If
End Sub
Bookmarks("LastName") into TextBox1?
Private Sub UserForm_Initialize()
'Places data in the userform text boxes if it exists on the spreadsheet
If ActiveDocument.Bookmarks.Exists("LastName") Then
TextBox1.Text = ActiveDocument.Bookmarks("LastName").Range.Text
End If
End Sub