|
|
#1 |
|
Captain
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2000
Location: L.A..... Costa Mesa... Whatever, Man!
Posts: 1,824
|
Visual Basic in Word...
Here's what I need...
I have a field as shown: LISTNUM LegalDefault \s 1 And I want to change that 1 to whatever number I want... but I want to do it in a UserForm. Is there some way I can code this to change that 1 to any number I enter in a UserForm TextBox? If I can enter a value into a field/TextBox and have it replace the 1... that will make my project complete. Trying to give the user the option to start the numbering at a place other than the default (which is 1, in this case) at the user's discression. I've tried using a find and replace, but it doesn't seem to work for fields. Is there a variable that I can use in that field? Dave. |
|
|
|
|
|
#2 |
|
Captain
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2000
Location: L.A..... Costa Mesa... Whatever, Man!
Posts: 1,824
|
Found it...
With ActiveDocument.Fields(1) .Code.Text = ("LISTNUM LegalDefault \s " + (TextBox11.Value)) End With Man... I'm good. ![]() Dave. |
|
|
|