°õ¦ævba¥X²{À³¥Îµ{¦¡©w¸q¿ù»~
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
°õ¦ævba¥X²{À³¥Îµ{¦¡©w¸q¿ù»~
½Ð°Ý¤U±°õ¦æ®É¡A®É¥i¥¿±`°õ¦æ¡A¦ý¦³®É¥X²{À³¥Îµ{¦¡©w¸q¿ù»~¡A
YSheets("¶K³o")§R°£¾ãÓÄæ¦C¤u§@¶°õ¦æ®É¤S¥i¥H¡A¤£ª¾°ÝÃD¦bþ
sub test ()
Application. screenupdate=false
Dim rng(1),M as Range
Sheets("¶K³o").Range(h:h).Clear
Set rng(1)=Sheets("¶K³o"). Range("A2",Range("A"&Rows.count).End(xlUp))
For Each M In rng(1)
M.Offset(,7)=(M.Offset(,3)-M.Offset(,2))*86400
If M.Offset(,7)<0 Then
M.Offset(,7)==""
End If
Next
End sub |
|
·s¤H¤@ªT
|
|
|
|
|
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
ÁÂÁ¦U¦ìª©¥D¡Aì¨Ó¥i¥H´«Ó¤è¦¡·Q¡I¡I°ÝÃD±Æ°£¤F¡I |
|
·s¤H¤@ªT
|
|
|
|
|
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
·PÁª©¤j¬Û±Ï¡I
¦ý¬O¥X²{³B²z³t·¥½wºC¡I
쥻Àɮפ¤´N¤w¦³§Oªº¥¨¶°¡A¦Ó§Ú¦b³oÀɮפ¤·s¼W¤@Ó¼Ò²Õ¡A³æ¿W°õ¦æ®É¨ä³t«×Àt³tªººC¶]¤£¤F¡I
¦ý¥H¬Û¦Pªº¸ê®Æ¶K¦b·s¼Wªº¬¡¶Ã¯¤U°õ¦æ®É¡A¤@¬í§Y¥i¥H§¹¦¨¡I
ps¡G¥Ñ©óìÀɮצ³¤j¶qªº«È¤á¸ê®Æ¤Îû¤u¸ê®Æ(µLªk±N¸ê®Æ¥Î¨ä¥¦¥N¸¹´À¥N¡A¦]¬°¸ê®Æ¨CÄæ¸ê®Æ³£¬O«È¤á¤Îû¤u¸ê®Æ)¡A©Ò¥H¤£¤è«K¤W¶Ç¡A½Ð¨£½Ì¡I |
|
·s¤H¤@ªT
|
|
|
|
|
- ©«¤l
- 2025
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 2053
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office2007
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2011-3-2
- ³Ì«áµn¿ý
- 2024-3-14
|
¦^´_ 1# eric093
E.Offset(, 3) =( E.Offset(, 2)-E.Offset(, 2))*86400
À³¸Ó¬Oµ§»~
§ï¬°
E.Offset(, 3) =( E.Offset(, 2)-E.Offset(, 1))*86400 |
|
{...} ªí¥Ü»Ýn¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡
|
|
|
|
|
- ©«¤l
- 77
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 110
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2013-7-14
- ³Ì«áµn¿ý
- 2018-10-3
|
®É¶¡¬Û´î~¸ê®Æ«¬ºA¤£²Å
½Ð°Ý¤Uz¤GӮɶ¡¥Îvba¬Û´î¨Ã´«ºâ¦¨¬í¼Æ¡A¦ý¤@ª½¥X²{¸ê®Æ«¬ºA¤£²Å¡A½Ð°Ý¬Onקïþ¡H
§Ç¸¹ 00:00:02 00:04:00
Sub test2()
Application.ScreenUpdating = False
Dim rng(1), E As Range
Set rng(1) = Sheets("sheets1").Range("A1", Range("A" & Rows.Count).End(xlUp))
For Each E In rng(1)
E.Offset(, 3) =( E.Offset(, 2)-E.Offset(, 2))*86400
Next |
|
·s¤H¤@ªT
|
|
|
|
|