Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro trouble - repeating data fill-in
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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Template with Repeating fields and macro buttons | Microsoft Word Help | |||
Repeating Data or poulating fileds trouble HELP! | Microsoft Word Help | |||
Repeating Data Macro problem | Microsoft Word Help | |||
How do I create a macro to data sort in a table within a protecte. | Tables | |||
Specific Email Merge w/ Specific Attachements | Mailmerge |