- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 276
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-12-22
|
¦^´_ 7# wendy
¨Ò¦p´ë³¡¸ê®ÆnÅý"CHANGE COLOR"¦r¦êÅܬõ¦â¨ä¾l«hºû«ù¦Û°Ê
°õ¦æ¥H¤Uµ{¦¡- Sub Ex()
- Dim A As Range
- For Each A In Cells.SpecialCells(xlCellTypeConstants)
- A.Font.ColorIndex = -4105 '¦Û°Ê¦r«¬ÃC¦â
- If InStr(A, "CHANGE COLOR") > 0 Then
- For i = 1 To Len(A)
- If Mid(A, i, Len("CHANGE COLOR")) = "CHANGE COLOR" Then
- A.Characters(i, Len("CHANGE COLOR")).Font.ColorIndex = 3
- i = i + Len("CHANGE COLOR") - 1
- End If
- Next
- End If
- Next
- End Sub
½Æ»s¥N½X |
|