Quote:
Originally Posted by gmaxey
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
|
So this works a bit like radio buttons and formulas in Excel (where you can do a conditional such as =if(d3=1,"yes","no") )? Excel is where the vast majority of my very limited experience with VBA lies, so I'm trying to make connections that make sense to me

\
What I understand you saying is that within the module, I do the If .Tag = 1 then... and then continue to telling it what to put where?
Quote:
Originally Posted by gmaxey
You have to have docvariable fields in the document to display the text:
{DocVariable varGrpName} etc.
and add
a Fields.Update command.
|
I do have the docvariable fields in the document and have them named and matching, I think the fields.update is what I'm missing. I'll give this a shot - I greatly appreciate the help!!