Yes. You basically create an OnExit macro. I like to use string
variable as "middle men". But you can do pass the value
immediately without passing to the string variable.
Sub PopulateFields()
strBookvalue =
ActiveDocument.FormFields("bkDescriptionFirst").Result
strBookvalue2 =
ActiveDocument.FormFields("bkDescriptionSecond").Result
ActiveDocument.FormFields("bkOfficeExpense").Result =
strBookvalue
ActiveDocument.FormFields("bkOfficeExpense2").Result =
strBookvalue2
End Sub
Than assign the PopulateFields macro to the OnExit event of the
first field which will be data entered.
--
Dawn Crosier
Microsoft MVP
"Education Lasts a Lifetime"
This message is posted to a newsgroup. Please post replies and
questions to the newsgroup so that others can learn as well.
message
Is there a way to auto populate other text fields after filling
in the first
field?
Example: A real-estate lease - I fill in the Unit Number on the
first page,
and the Unit number auto populates in the remaining unit number
fields on the
form.
Thanks!