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

§ì¨ú¬Y®É¶¡½d³òÀx¦s®æÅܰʪº³Ì°ª¸ò³Ì§C­È??

§ì¨ú¬Y®É¶¡½d³òÀx¦s®æÅܰʪº³Ì°ª¸ò³Ì§C­È??

A1¬°DDE ³sµ²
B1=A1 ( 13:25-13:30 ¤§¶¡§Y®ÉÅܰʪº³Ì°ª­È  )(®É¶¡½d³ò¥~¬°0)
C1=A1 ( 13:25-13:30 ¤§¶¡§Y®ÉÅܰʪº³Ì§C­È  )(®É¶¡½d³ò¥~¬°0)
¥Î¤½¦¡©Î¥¨¶°¦p¦ó¼g??

¥»©«³Ì«á¥Ñ t8899 ©ó 2013-10-6 15:06 ½s¿è

B1 ³Ì°ª  C1 ³Ì§C
Private Sub Worksheet_Calculate()
If TimeValue(Now) > TimeValue("13:30:00") and TimeValue(Now) < TimeValue("13:25:00")  THEN  Range("B1").Value=0
If TimeValue(Now) > TimeValue("13:30:00") and TimeValue(Now) < TimeValue("13:25:00")  THEN  Range("C1").Value=0
If TimeValue(Now) < TimeValue("13:30:00") and TimeValue(Now) > TimeValue("13:25:00") and Range("A1").Value > Range("B1").Value Then Range("B1").Value = Range("A1").Value
If TimeValue(Now) < TimeValue("13:30:00") and TimeValue(Now) > TimeValue("13:25:00") and Range("A1").Value < Range("C1").Value Then Range("C1").Value = Range("A1").Value

END SUB

¤½¦¡À³¸Ó¨S¿ìªk???

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD