ok, i have gotten it so that the information i enter on the userform in document 1 will show up as documentvariables in document 2, but it will not show up on the userform for document 2. Any thoughts? This is the code I am using right now in document1
If chxIFPOrder = True Then
Set doc1 = ActiveDocument
Set doc2 = Application.Documents.Add("C:\XXXX.dotm")
doc2.Variables("myinitials").Value = Me.TxtYourInitials.Value
End If
When I do that, there is no myinitials information showing up on the userform itself in doc2, but when I hit OK on the userform in doc2, then the myinitials documentvariable populates with the myinitials information that I entered on the userform in doc1 shows up. I want the info to show up on the userform in doc2 also.
Any help would be greatly appreciated!
-- Mike
|