B
Bruce Brown
Within each of two AutoTextList fields is a Wingdings symbol: in one,
a blank checkbox; in the other, a checked checkbox. Both fields are
bookmarked, so the contents can be tested as either the text of the
bookmark range or the result of the field.
Problem: how to tell which checkbox is checked and which is blank?
Reminder: neither is a form field checkbox.
This code inserts the two symbols and may give you some clues:
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3842,
Unicode _
:=True'CHECKED CHECKBOX
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3928,
Unicode _
:=True'BLANK CHECKBOX
Every VBA test I've run so far gives the same number for both symbols.
Scrolling through the entire object browser was fruitless; symbol
isn't an object. Searching for Unicode, CharacterNumber and Checkbox
proved an equal waste of time.
Your one-line code solution will be much appreciated!
a blank checkbox; in the other, a checked checkbox. Both fields are
bookmarked, so the contents can be tested as either the text of the
bookmark range or the result of the field.
Problem: how to tell which checkbox is checked and which is blank?
Reminder: neither is a form field checkbox.
This code inserts the two symbols and may give you some clues:
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3842,
Unicode _
:=True'CHECKED CHECKBOX
Selection.InsertSymbol Font:="Wingdings", CharacterNumber:=-3928,
Unicode _
:=True'BLANK CHECKBOX
Every VBA test I've run so far gives the same number for both symbols.
Scrolling through the entire object browser was fruitless; symbol
isn't an object. Searching for Unicode, CharacterNumber and Checkbox
proved an equal waste of time.
Your one-line code solution will be much appreciated!