This one has me stumped. How can I selected a symbol (or better yet) asign a range to a symbol and determine what symbol it is?
[VBA]Sub ScratchMacro()
With ActiveDocument
.Range.Delete
.Range.InsertAfter vbCr & vbCr
.Paragraphs(1).Range.InsertSymbol 168, "Wingdings", True
.Paragraphs(2).Range.InsertSymbol 254, "Wingdings", True
MsgBox Hex(AscW(.Paragraphs(1).Range.Characters(1)))
MsgBox Hex(AscW(.Paragraphs(2).Range.Characters(1)))
End With
End Sub
[/VBA]
The code should illustrate the question. If I have a checked box and an unchecked box, how can I identify them with VBA?
Thanks.