ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ·í²Å¦X±ø¥ó®É¦^¶ÇSample time & ¨äÀx¦s®æ¦C¸¹

¦^´_ 1# marklos


    ­n¸Õ¬Ý¬Ývba¶Ü

½Æ¥» Xl0000225.rar (12.51 KB)

TOP

¦^´_ 3# marklos


    §A¤U¸ü§ÚªºªþÀÉ¡A¶}±Ò¤§«á¡A³]©w¦ng2ªº­È¡A«ö¤U¥kÃ䪺«ö¶s¡A´N¥i¥H¤F¡C
    «ö¤Ualt+f11¡A¥i¥H¶i¤Jvba½s¿èµe­±¡A§A¥i¥H¬ã¨s¬Ý¬Ý¡C
    ¦³°ÝÃD¥i¥H¦A¤W¨Ó´£¥X°Q½×¡C

TOP

¦^´_ 6# samwang


    ¥i¬O¦^¶Ç¥X¨Óªºµª®×¬O²Ä20¦Cªº¸ê®Æ­C¡A¥¿½TªºÀ³¸Ó¬O²Ä61¦C¤£¬O¶Ü¡H

TOP

¦^´_ 7# marklos


    °²³]¦bh6¸òh7­n­pºâªº¸Ü¡A§ï¦¨³o¼Ë´N¦æ¤F
  1. Private Sub CommandButton1_Click()
  2. [g5,h5] = ""
  3. For Each cu In Range("d2:d" & [a65536].End(3).Row)
  4. If cu.Value < [g2] Then
  5.   [g5] = cu.Offset(0, -2).Value
  6.   [h5] = cu.Row
  7.   [h6] = Application.Count(Range("e2:e" & cu.Row)) / 3600
  8.   [h7] = Application.Sum(Range("e2:e" & cu.Row)) / 3600
  9.   Exit Sub
  10. End If
  11. Next
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_ 10# marklos

½Æ»s¤U¦C¥N½X¶K¤W¥h¨ú¥Nªº´N¦æ¤F
  1. Private Sub CommandButton1_Click()
  2. [g5,h5] = ""
  3. For Each cu In Range("d2:d" & [a65536].End(3).Row)
  4. If cu.Value < [g2] Then
  5.   [g5] = cu.Offset(0, -2).Value
  6.   [h5] = cu.Row
  7.   [g7] = Application.Count(Range("e2:e" & cu.Row)) / 3600
  8.   [h7] = Application.Sum(Range("e2:e" & cu.Row)) / 3600
  9.   Exit Sub
  10. End If
  11. Next
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_ 10# marklos


    ±N¤U¦C¥N½X½Æ»s¶K¤W¨ú¥N­ì¦³ªº¤º®e
  1. Private Sub CommandButton1_Click()
  2. [g5,h5,g8,h8,o5,p5,g8,h8] = ""
  3. For Each cu In Range("d2:d" & [a65536].End(3).Row)
  4. If cu.Value < [g2] Then
  5.   [g5] = cu.Offset(0, -2).Value
  6.   [h5] = cu.Row
  7.   [g8] = Application.Count(Range("e2:e" & cu.Row)) / 3600
  8.   [h8] = Application.Sum(Range("e2:e" & cu.Row)) / 3600
  9.   GoTo 99
  10. End If
  11. Next
  12. 99  For Each cu2 In Range("m2:m" & [j65536].End(3).Row)
  13. If cu2.Value < [o2] Then
  14.   [o5] = cu2.Offset(0, -2).Value
  15.   [p5] = cu2.Row
  16.   [o8] = Application.Count(Range("p2:p" & cu2.Row)) / 3600
  17.   [p8] = Application.Sum(Range("p2:p" & cu2.Row)) / 3600
  18.   Exit Sub
  19. End If
  20. Next
  21. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¯¸¦b¥b¸ô¡A¤ñ¨«¨ì¥Ø¼Ð§ó¨¯­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD