Replace fake checkboxes with Content Control Checkboxes in Word

12:20 pm Uncategorized

Sub ReplaceWithCheckBoxes()
    With Selection.Find
        .Text = ChrW(61551)
        .Replacement.Text = ChrW(9744)
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    Do While Selection.Find.Execute
    Selection.Range.ContentControls.Add (wdContentControlCheckBox)
    End With
End Sub

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.