S
SharonC
I've read through all the posts I could find regarding entering repeating
data in a form. I went to
http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm as instructed, but I
am getting an error.
On that page, step 10, where you are defining bookmarks with this code:
Enter the following code between the Private Sub CommandButton1_Click() and
theEnd Sub
With ActiveDocument
.Bookmarks("Text1").Range _
.InsertBefore TextBox1
.Bookmarks("Text2").Range _
.InsertBefore TextBox2
End With
UserForm1.Hide
I get an error message with .Range_ highlighted. The message says "method
or data member not found". What is ".range_" referring to here? Am I
supposed to replace something with my own text (I replaced "text1" and
Textbox1 with my own text and textbox labels as instructed. What am I
missing? I'm sure it is staring me in the face!
Sharon
data in a form. I went to
http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm as instructed, but I
am getting an error.
On that page, step 10, where you are defining bookmarks with this code:
Enter the following code between the Private Sub CommandButton1_Click() and
theEnd Sub
With ActiveDocument
.Bookmarks("Text1").Range _
.InsertBefore TextBox1
.Bookmarks("Text2").Range _
.InsertBefore TextBox2
End With
UserForm1.Hide
I get an error message with .Range_ highlighted. The message says "method
or data member not found". What is ".range_" referring to here? Am I
supposed to replace something with my own text (I replaced "text1" and
Textbox1 with my own text and textbox labels as instructed. What am I
missing? I'm sure it is staring me in the face!
Sharon