![]() |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
Quote:
\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? 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!! |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to find text and replace with form field containing that text
|
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
MS WORD 2007 - Content Control versus Text Form Field question
|
chamdan | Word VBA | 2 | 11-12-2013 09:51 PM |
| Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |
FILLIN function
|
Andy2011 | Word | 9 | 10-19-2011 02:51 PM |
Word Macro That Checks a Check Box Form Field When File Print is Executed
|
DKerne | Word VBA | 4 | 06-09-2011 11:54 AM |