- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 2# jackdream
¥i¥Î Like ¹Bºâ¤l- Option Explicit
- Sub Ex()
- '°²³]n§PÂ_ªº¤å¦r+¼Æ¦r©ñ¦bA1Àx¦s®æ
- Dim j
- For j = 1 To Len(Range("A1"))
- With Range("A1").Characters(Start:=j, Length:=1).Font
- .ColorIndex = IIf(Mid(Range("A1"), j, 1) Like "[0-9]", 3, 0) '¬O¼Æ¦r
- '.ColorIndex = IIf(Mid(Range("A1"), j, 1) Like "[A-z]", 3, 0) '¬O^¤å¦r¥À
- '.ColorIndex = IIf(Mid(Range("A1"), j, 1) Like "[A-Z]", 3, 0) '¬O¤j¼g^¤å¦r¥À
- '.ColorIndex = IIf(Mid(Range("A1"), j, 1) Like "[!A-z]", 3, 0) '¤£¬O^¤å¦r¥À
- End With
- Next
- End Sub
½Æ»s¥N½X |
|