title: Populating a text box with some text depending on values of dropdowns selected in document
body: <p>I am making a document in Microsoft Word 2016 and I would like this to be a form that a user will fill out (using Dropdown list content control)- from there I have assigned all of the items in the list with numbers for their values. I need to populate a text box with some words (determined by the sum of the values) and I am having trouble. Never used VBA- I don't even know if my first line is correct. I'm really not sure how to begin the document and how to populate the sum of all the dropdowns. I'm not using macros from another document, I just want to populate based upon what users select in the word document. I named my field with a tag on a text box that I want the text "account" "account 2" etc to appear in. Thanks!</p>
  
  <pre><code>Set myField = Selection.FormFields(1)
  If myField.Type = wdFieldFormDropDown Then
   Num = myField.DropDown.ListEntries.Count
   If Num &gt;= 75 Then
   myField.Value = "Account 1"
   End If
   If Num &gt; 50 Then
   myField.Value = "Account 2"
   End If
   If Num &lt;= 50 Then
   myField.Value = "Account 3"
   End If
   End If
  End Sub
  </code></pre>