- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
- Sub yy()
- Dim arr(1 To 6, 0), rng, i%, h%
- rng = [c5:d12]
- For i = 1 To UBound(rng)
- h = Application.Match(Hour(rng(i, 1)), Array(0, 4, 8, 12, 16, 20))
- If h > 0 Then
- arr(h, 0) = arr(h, 0) + rng(i, 2)
- End If
- Next
- [g5].Resize(6, 1) = arr
- End Sub
½Æ»s¥N½X |
|