J
jim9912
I am using the following Macro to get data from the user via a popup
box. How can I then deposit the contents of the variable fname into a
form field on the parent document?
<code>
Sub Getinput()
Dim fname
fname = InputBox("Enter your name:")
End Sub
</code>
I tried this, where text10 is the name of the form field. I also tried
text10.text = fname.:
<code>
Sub Getinput()
Dim fname
fname = InputBox("Enter your name:")
text10 = fname
End Sub
</code>
I'm sure the answer must be simple, but alas, I am a novice.
box. How can I then deposit the contents of the variable fname into a
form field on the parent document?
<code>
Sub Getinput()
Dim fname
fname = InputBox("Enter your name:")
End Sub
</code>
I tried this, where text10 is the name of the form field. I also tried
text10.text = fname.:
<code>
Sub Getinput()
Dim fname
fname = InputBox("Enter your name:")
text10 = fname
End Sub
</code>
I'm sure the answer must be simple, but alas, I am a novice.