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

[µo°Ý] ½Ð°Ý¦¹¨â¥y»yªk¦³¦ó®t§O???

[µo°Ý] ½Ð°Ý¦¹¨â¥y»yªk¦³¦ó®t§O???

If Format(Now, "hh:mm:ss") = "13:24:22" Then   ........
If TimeValue(Now) = TimeValue("13:24:22 ") Then  ........

If Format(Now, "hh:mm:ss") = "13:24:22" Then   ........
If TimeValue(Now) = TimeValue("13:24:22 ")  ...
t8899 µoªí©ó 2013-10-2 19:44

¦b §Y®É¹Bºâµøµ¡¤¤¥´¤W :
?TypeName(Format(Now, "hh:mm:ss"))
·|±o¨ì  String

?TypeName(TimeValue("13:24:22 ") )
·|±o¨ì  Date

©Ò¥H¨â¦¡¤¤°µ¤ñ¸ûªº¸ê®Æ®æ¦¡¬O¤£¦Pªº,
¦r¦ê»P¤é´Áªº¤j¤p¤ñ¸û¦b¬Y¨Ç±¡§Î¤Uµ²ªG·|¤£¦P,

TOP

¦b §Y®É¹Bºâµøµ¡¤¤¥´¤W :
?TypeName(Format(Now, "hh:mm:ss"))
·|±o¨ì  String

?TypeName(TimeValue ...
luhpro µoªí©ó 2013-10-2 23:46


¦¹¨â¥y±¾¦b Private Sub Worksheet_Calculate() ¸Ì
§PÂ_¨t²Î®É¶¡¡A¨º¤@¥y·|¤ñ¸û¾A·í?

TOP

¦^´_ 3# t8899
ÁöµM¹ê»Ú¨Ï¥Î¤W¥i¯à¬Ý¤£¥X®t²§,
¦ý§ÚÁÙ¬O«Øij¥Î TimeValue("") ¦]¬°¥¦¬O±Ä¥Î Date (or Time) ®æ¦¡.

TOP

¦¹¨â¥y±¾¦b Private Sub Worksheet_Calculate() ¸Ì
§PÂ_¨t²Î®É¶¡¡A¨º¤@¥y·|¤ñ¸û¾A·í?
t8899 µoªí©ó 2013-10-3 06:19

§Ú¤]»{¦P luhpro ¤j¤jªº»¡µü¡G
If TimeValue(Now) = TimeValue("13:24:22 ") Then  ........
¨Ï¥Î Date «¬ºA°µ¸ê®Æ¤ñ¹ï (Compare) ·|¤ñ¨Ï¥Î¦r¦ê¤ñ¹ï¨Ó±o¾A·í¡B¥B¸û¤£©ö¥X¿ù¡C

TOP

        ÀR«ä¦Û¦b : ¦³´¼¼z¤~¯à¤À¿ëµ½´c¨¸¥¿¡F¦³Á¾µê¤~¯à«Ø¥ß¬üº¡¤H¥Í¡C
ªð¦^¦Cªí ¤W¤@¥DÃD