- ©«¤l
- 522
- ¥DÃD
- 36
- ºëµØ
- 1
- ¿n¤À
- 603
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp sp3
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-12-13
- ³Ì«áµn¿ý
- 2021-7-11
|
¦^´_ 1# symis
§Ú¥u¯à·Q¨ì³oӲ¤èªk:
E4 °}¦C¤½¦¡¡G
=SUM(LEN(UPPER($J$3:$J$10))-LEN(SUBSTITUTE(UPPER($J$3:$J$10),C4,"")))
¦V¤U©Ô
E8 °}¦C¤½¦¡¡G
=SUM(E4:E5)
¦³¿ù»~®É, ¿é¤J¦³ÂI³Â·Ð¡G
(¦Ü¤Ön¾Þ§@¨â¦¸¥H¤W, ¬Ý·Çnק諸®æ¤l¦Aקï)
Á`¼Æ¦³¿ù»~®É, ¤£µ¹Äµ§i, ¥H§K¤Ó³Â·Ð, ¤Ï¥¿¥þ³¡¿é¤J§¹²¦´Nok¤F,
- Private Sub Worksheet_SelectionChange(ByVal Target As Range)
- Dim a1, b1, c1, d1 As Integer, Rng As Range
- Set Rng = Worksheets(1).Range("J3:J10")
-
-
- If Not Intersect(Target, Rng) Is Nothing Then
- [E4].FormulaArray = _
- "=SUM(LEN(UPPER($J$3:$J$10))-LEN(SUBSTITUTE(UPPER($J$3:$J$10),C4,"""")))"
- [E5].FormulaArray = _
- "=SUM(LEN(UPPER($J$3:$J$10))-LEN(SUBSTITUTE(UPPER($J$3:$J$10),C5,"""")))"
- [E6].FormulaArray = _
- "=SUM(LEN(UPPER($J$3:$J$10))-LEN(SUBSTITUTE(UPPER($J$3:$J$10),C6,"""")))"
- [E7].FormulaArray = _
- "=SUM(LEN(UPPER($J$3:$J$10))-LEN(SUBSTITUTE(UPPER($J$3:$J$10),C7,"""")))"
- [E8] = "=SUM(E4:E5)"
-
- If [E4] > 1 Then
- MsgBox "A ³Ì¦h¥u¯à¦³1Ó", vbCritical
- End If
- If [E5] > 2 Then
- MsgBox "B ³Ì¦h¥u¯à¦³2Ó", vbCritical
- End If
- If [E6] < 4 Then
- MsgBox "C ³Ì¤Ön¦³4Ó", vbCritical
- End If
- If [E7] < 1 Then
- MsgBox "D ³Ì¤Ön¦³1Ó", vbCritical
- End If
- End If
-
- End Sub
½Æ»s¥N½X |
|