Hey everyone!
I'm hoping to create a drop down menu with two choices (Low and Minimal) and if low is chosen it would add the following "Please delete all content for Benchmark team" after bookmark "BM2" in the document. If minimal is chosen, it wouldn't add anything and the space would be blank in the document.
Can anyone help with the code? This is what I have so far and its not adding the text where I want in the document.
Code:
Private Sub Paragraph_Addition
Dim StrDetails As String
With ContentControl
If .Title = "Grade" Then
Select Case .Range.Text
Case "LOW"
StrDetails = "Please delete all content for Benchmark team."
Case "MINIMAL"
StrDetails = ""
Case Else: StrDetails = ""
End Select
ActiveDocument.ContentControls(2).Range.Text = StrDetails
End If
End With
End Sub
Thanks!