Created
March 31, 2017 04:22
-
-
Save ndthanh/102cd3d3b5c5388c25710869f6e9c9a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub HoaHoc() | |
For Each cll In Selection | |
sText = cll.Value | |
For i = 1 To Len(sText) | |
If IsNumeric(Mid(sText, i, 1)) Then cll.Characters(Start:=i, Length:=1).Font.Subscript = True | |
Next | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment