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

¦p¦ó¨ú±oEXCEL ®É¶¡,³æ¦ì¨ì²@¬í

¦p¦ó¨ú±oEXCEL ®É¶¡,³æ¦ì¨ì²@¬í

¤U­z¤ù¬q¥\¯à¬OA¦C¥u­n¿é¤J¸ê®Æ,B¦C·|¦Û°Ê±a¥X¨t²Î®É¶¡

Private Sub Worksheet_Change(ByVal Target As Range)
  If Target.Count > 1 Then Exit Sub
     Select Case Target.Row
        Case 60000: Target(-59998, 2).Select
     End Select
   If Target.Column = 1 Then
      Target.Offset(0, 1) = Now
   End If
End Sub

Àx¦s®æ®æ¦¡³]¦¨ yyyy/m/d hh:mm:ss.000 ,±o¨ìªº¤é´Á®É¶¡¬O³o¼Ë¡@
2016/6/4 14:42:10.000
2016/6/4 14:42:11.000
2016/6/4 14:42:12.000

­n¦p¦ó¤~¯à¨ú±o²@¬í?
ÁÂÁÂ~

GetSystemTime

TOP

http://blog.xuite.net/hcm19522/twblog/419610391
°Ñ¦Ò ~

TOP

ÁÂÁ¨ó§U,§Ú¥Î¥H¤Uªºµ{¦¡¸Ñ¨M¦¹°ÝÃD,µ¹¦³»Ý­nªº¤H°Ñ¦Ò°Ñ¦Ò~
Public Function TimeInMS() As String
TimeInMS = Strings.Format(Now, "dd-MMM-yyyy HH:nn:ss") & "." & Strings.Right(Strings.Format(Timer, "#0.00"), 2)
End Function

TOP

        ÀR«ä¦Û¦b : ¬°¤H³B¥@­n¤p¤ß²Ó¤ß¡A¦ý¤£­n¡u¤p¤ß²´¡v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD