B
Barb
I have created a 2003 Word Template [2007 Compatibility Mode] that uses 2
userforms. (The 2 userforms are identical, except for the Name and some of
the VBA coding.)
The first userform loads when the template opens as a document to which the
user enters information in each field and upon clicking OK, the new document
populates with the entered information.
The second userform was created to appear with the help of a keyboard
shortcut macro to appear so that the user has the option of changing the
previously entered information.
My problem is that I want the second userform to populate with the
information that was previously entered. Here is a sampling of my code for
the second userform:
Private Sub DisplayEditForm1()
With ActiveDocument
txtProjectDescription =
ActiveDocument.Variables("ProjectDescription").Value
etc…..
End With
End Sub
I have tried some of the other posted suggestions, but I'm still having
problems.
Does anyone have any suggestions?
Thanks bunches!!
userforms. (The 2 userforms are identical, except for the Name and some of
the VBA coding.)
The first userform loads when the template opens as a document to which the
user enters information in each field and upon clicking OK, the new document
populates with the entered information.
The second userform was created to appear with the help of a keyboard
shortcut macro to appear so that the user has the option of changing the
previously entered information.
My problem is that I want the second userform to populate with the
information that was previously entered. Here is a sampling of my code for
the second userform:
Private Sub DisplayEditForm1()
With ActiveDocument
txtProjectDescription =
ActiveDocument.Variables("ProjectDescription").Value
etc…..
End With
End Sub
I have tried some of the other posted suggestions, but I'm still having
problems.
Does anyone have any suggestions?
Thanks bunches!!