View Single Post
 
Old 01-07-2014, 02:57 PM
gmaxey gmaxey is offline Windows 7 32bit Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Well, you are missing part of a If conditional statement. You have the Else and End if part put the not IF.

That should be something like:

If .Tag = 1 Then

where Tag is set using the Userform command button e.g.

Sub commandbutton1_Click()
Tag = 1
Hide
End If

You have to have docvariable fields in the document to display the text:

{DocVariable varGrpName} etc.

and add
a Fields.Update command.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote