Form Field

N

Newbie

Hi,
I have two form fields - bookmark name Text1 and Text8

I want to be able to automatically update Text8 with what the user enters
into Text1 via the OnExit Macro from Text1

How do I do this?
 
P

Perry

Something like

Sub OnExitText1()
With ActiveDocument.FormFields
.Item("Text8").Result = .Item("Text1").Result
End With
End Sub

Perhaps superfluous:
Assign above macro to the OnExit event of Text1

Krgrds,
Perry
 
N

Newbie

Thanks - works a treat

AliH
Perry said:
Something like

Sub OnExitText1()
With ActiveDocument.FormFields
.Item("Text8").Result = .Item("Text1").Result
End With
End Sub

Perhaps superfluous:
Assign above macro to the OnExit event of Text1

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top