M
Marceepoo
Sub SymbolCarousel()
' This is Bill Coan's macro.
' I wanna replace the N with an unchecked box (Wingding Font, Alt-0114), and
' I wanna replace the Y with a check'd box (Wingding Font, Alt-0253).
' The two macros beneath Bill Coan's macro generate the unicode characters,
' but I can't figure out how to put the chars into the macrobutton.
' I've looked at Microsoft Article ID : 78835 , but don't find the solution
there.
' Any ideas would be much appreciated. Thanks again, Marceepoo
Select Case Selection.Fields(1).Code.Characters(29)
Case "Y"
Selection.Fields(1).Code.Characters(29) = "N"
Case "N"
Selection.Fields(1).Code.Characters(29) = "?"
Case "?"
Selection.Fields(1).Code.Characters(29) = "Y"
Case Else
End Select
End Sub
Sub UnicohdCharInsrtCkBox()
'
With Selection
.Collapse Direction:=wdCollapseStart
.InsertSymbol CharacterNumber:=114, _
Font:="Wingdings", Unicode:=True
End With
End Sub
Sub UnicohdCharInsrtCkdBox()
With Selection
.Collapse Direction:=wdCollapseStart
.InsertSymbol CharacterNumber:=253, _
Font:="Wingdings", Unicode:=True
End With
End Sub
' This is Bill Coan's macro.
' I wanna replace the N with an unchecked box (Wingding Font, Alt-0114), and
' I wanna replace the Y with a check'd box (Wingding Font, Alt-0253).
' The two macros beneath Bill Coan's macro generate the unicode characters,
' but I can't figure out how to put the chars into the macrobutton.
' I've looked at Microsoft Article ID : 78835 , but don't find the solution
there.
' Any ideas would be much appreciated. Thanks again, Marceepoo
Select Case Selection.Fields(1).Code.Characters(29)
Case "Y"
Selection.Fields(1).Code.Characters(29) = "N"
Case "N"
Selection.Fields(1).Code.Characters(29) = "?"
Case "?"
Selection.Fields(1).Code.Characters(29) = "Y"
Case Else
End Select
End Sub
Sub UnicohdCharInsrtCkBox()
'
With Selection
.Collapse Direction:=wdCollapseStart
.InsertSymbol CharacterNumber:=114, _
Font:="Wingdings", Unicode:=True
End With
End Sub
Sub UnicohdCharInsrtCkdBox()
With Selection
.Collapse Direction:=wdCollapseStart
.InsertSymbol CharacterNumber:=253, _
Font:="Wingdings", Unicode:=True
End With
End Sub