N = 0
For X = 1 To Selection.Characters.Count
If F_標點符號判定_01(Selection.Characters(X)) = False And InStr(" " & vbCr & vbLf & vbCrLf & vbTab & vbBack, Selection.Characters(X)) = 0 Then
N = N + 1
End If
Next X
MsgBox "不包括標點符號字數:" & N
End Sub
Public Function F_標點符號判定_01(ByVal 來源字元 As String) As Boolean