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

[µo°Ý] ¤u®É­pºâ

[µo°Ý] ¤u®É­pºâ

¦³2­Ó®É¶¡,½Ð°Ý¦p¦ó¨Ï¥ÎVBA­pºâ¤u®É
®É¶¡1:8:20:10
®É¶¡2:10:10:05
¤u®É:1:49:55

Sub AA()
  Sheet1.Range("A3") = Sheet1.Range("A2") - Sheet1.Range("A1")
  Selection.NumberFormatLocal = " hh:mm:ss"
End Sub
ù

TOP

=TEXT(B2-A2,"HH:MM:SS")
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

®É¶¡1:8:20:10
®É¶¡2:10:10:05-------A1
¤u®É:1:49:55----------B1
µ²ªG------------------C1
¥ý§â¸ê®ÆK¶iexcel¡A®æ¦¡³]©w®É¶¡®æ¦¡¡Ahh:mm:ss
sub work_time()
Sheet1.Range("C1") = Sheet1.Range("B1") - Sheet1.Range("A1")
end sub

TOP

        ÀR«ä¦Û¦b : ºw¤ô¦¨ªe¡C²É¦Ì¦¨ÅÚ¡A¤Å»´¤vÆF¡A¤Å¥Hµ½¤p¦Ó¤£¬°¡C
ªð¦^¦Cªí ¤W¤@¥DÃD