Hi Everyone,
Can anyone help me to use Textbox fields instead of Input box. Here is the line of code that accepts values from the user by poping an inputbox. The number of times the input box pops-up depends on the number of docvariables that i have declared inside my word documents.
I have declared 2 docvariables (Name and Age) on my ms word temple.

Please note that this is not the complete code but if required i will post it here.

Code:
VariableValue = InputBox("Enter value for: " & Variable)
AddNewVariable Variable, VariableValue
With the above code the Input box pops up and ask for the value of Name.
Then again it pops up and ask for the value of Age.
Then it places these two values in the word document exactly where i declared the docvariables.

But i want to use the fieds on my form. Ok i will explain a bit further!!

I have a form and have two text fields (Name and Age). Now all i want to do is that what ever i type inside these fields, these values are placed inside my word document.

Thanx a lot
Cheers!!!!!!
irfi