I have been scratching my head over this one for a day now!
I have a word 2007 document with 2 user forms, Form1 and Form2. Form2 is activated from Form1 and should let the user select a value from a listbox and have that value sent to a textbox Text1 in Form1.
I am doing this as follows:
in Form1 module
Code:
Public Sub SetCode(ByVal Code as String) Me.Field1.Value=Code End Sub
Leave a comment: