- ©«¤l
- 396
- ¥DÃD
- 12
- ºëµØ
- 0
- ¿n¤À
- 425
- ÂI¦W
- 1
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-7-2
- ³Ì«áµn¿ý
- 2024-8-23
|
¦^´_ 10# marklos
±N¤U¦C¥N½X½Æ»s¶K¤W¨ú¥N즳ªº¤º®e- Private Sub CommandButton1_Click()
- [g5,h5,g8,h8,o5,p5,g8,h8] = ""
- For Each cu In Range("d2:d" & [a65536].End(3).Row)
- If cu.Value < [g2] Then
- [g5] = cu.Offset(0, -2).Value
- [h5] = cu.Row
- [g8] = Application.Count(Range("e2:e" & cu.Row)) / 3600
- [h8] = Application.Sum(Range("e2:e" & cu.Row)) / 3600
- GoTo 99
- End If
- Next
- 99 For Each cu2 In Range("m2:m" & [j65536].End(3).Row)
- If cu2.Value < [o2] Then
- [o5] = cu2.Offset(0, -2).Value
- [p5] = cu2.Row
- [o8] = Application.Count(Range("p2:p" & cu2.Row)) / 3600
- [p8] = Application.Sum(Range("p2:p" & cu2.Row)) / 3600
- Exit Sub
- End If
- Next
- End Sub
½Æ»s¥N½X |
|