2 Replies Latest reply: Jun 18, 2015 5:26 PM by Rayna Curtis RSS

    Macro to select "Always One Selected Value"

    Rayna Curtis

      Hi All,


      I am writing a macro to use as a Load Trigger to make a selection in a field.


      Sub IncludeGrpblock
      ActiveDocument.Fields("Group Block").Clear
      ActiveDocument.Fields("Group Block").Select("Include")
      end sub

      Nice and simple, right?  The issue is, once this occurs, I want to make the checkbox below selected by default.  (I do a "Reduce Data" on my views to distribute them as I have many clients and we need to make sure there is no data in them when we give them out,  This process, of course, clears that check box.)

      Is there any way to set this setting on load, after I have forced a selection?


      Thanks in advance!