- ©«¤l
- 60
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 87
- ÂI¦W
- 0
- §@·~¨t²Î
- WinXP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-8-4
- ³Ì«áµn¿ý
- 2020-5-25
|
¥»©«³Ì«á¥Ñ wind6424 ©ó 2011-10-14 16:29 ½s¿è
·PÁ¨â¦ìªO¥Dªº¨ó§U
±N¨â¦ìªºµ{¦¡½Xµ²¦X
§ï¦¨¦p¤U,¹êÅç¤F¤@¤U ok ¤F
¦b¨Ó±NCells(6, 8) ³oÓקï¤@¤U,´N¥i¥H¤@¦¸³B²z¦hÓÄæ¦ì¤F
«D±`ªº·PÁÂ- Sub test()
- Dim A As Range, y%
- Dim s
- For Each A In Cells(6, 8)
- A.Font.Bold = False
- A.Font.ColorIndex = 0
- s = InStr(A, "[")
- y = InStr(s, A, "]")
- A.Characters(1, s-1).Font.ColorIndex = 5
- A.Characters(1, s-1).Font.Bold = True
- Do Until s = 0
- A.Characters(s + 1, y - s - 1).Font.Bold = True
- s = InStr(y, A, "[")
- If s > 0 Then y = InStr(s, A, "]")
- Loop
- Next
- End Sub
½Æ»s¥N½X |
|