![]() |
#5
|
|||
|
|||
![]()
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. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
![]() |
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 |
![]() |
Andy2011 | Word | 9 | 10-19-2011 02:51 PM |
![]() |
DKerne | Word VBA | 4 | 06-09-2011 11:54 AM |