- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 10# saleen
¨ä¹ê GBKEE ª©¤j¥L¤w¸gµ¹©p¤F¥¿½Tªºµª®×¡A°ß¤@¤£¦Pªº³B²z
¥L¬O±q¸ê®Æ¿ý³Ì«á©¹¤W»¼¼W¡A¦ý¬O©pn¨D¸ê®Æ¶·¬Ò¥Ñ A2 ¦æ»¼¼W
(´¡¦æ)¡A ©Ò¥H§Úµyµy´N¦a¨ú§÷§ï¤F¼g¤JÂI¡G- Sub updateFollow()
- Dim Rng As Range
-
- On Error Resume Next
- If (TimeValue(Now) < TimeValue("08:45:00") Or TimeValue(Now) > TimeValue("13:45:00")) Then Exit Sub
- With ¤u§@ªí1
- .Range("A2:L2").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove ' ´¡¤J¸ê®Æ¡A쥻¸ê®Æ¦C§¡¤U²¾¤@¦æ¡C
- ' Set Rng = .[A2]
- ' Rng = Sheet1.[c2]
- ' Rng.Offset(, 1) = "=XQTISC|Quote!'FITX06.TF-Time'"
- ' Rng.Offset(, 2) = "=R2-Q2"
- ' Rng.Offset(, 3) = "=X2-W2"
- ' Rng.Offset(, 4) = "=T2-U2"
- ' Rng.Offset(, 5) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- ' Rng.Offset(, 6) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- ' Rng.Offset(, 7) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- ' Rng.Offset(, 8) = "=Y2"
- ' Rng.Offset(, 9) = "=Z2"
- ' Rng.Offset(, 10) = "=Z2-Q5"
- ' Rng.Offset(, 11) = "= AA2 - AB2"
- ' Rng.Offset(, 12) = "=AD2"
- ' ¤W±¤§±Ôzªí¹F»P¤U¦Cªº±Ôzµ²ªG¬O¤@¼Ëªº¡A®t²§¥u¦b©ó¨Ï¥Î»yªk¤§¥©§®¤£¦P¡C
- Set Rng = .[A2].Resize(1, 12)
- Rng(1) = "=XQTISC|Quote!'FITX06.TF-Time'"
- Rng(2) = "=R2-Q2"
- Rng(3) = "=X2-W2"
- Rng(4) = "=T2-U2"
- Rng(5) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- Rng(6) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- Rng(7) = "=IF(ISNUMBER(R[1]C[-3]),RC[-3]-R[1]C[-3],0)"
- Rng(8) = "=Y2"
- Rng(9) = "=Z2"
- Rng(10) = "=Z2-Q5"
- Rng(11) = "= AA2 - AB2"
- Rng(12) = "=AD2"
- Rng.Value = Rng.Value ' ±N¤½¦¡¥HÄæȨú¥N
- Rng(1).NumberFormat = "hh:mm:ss"
- End With
- If timerEnabled Then Call timerStart
- End Sub
½Æ»s¥N½X ¦ý¬O ½Ð¦Û¦æ¨ú®ø {A1:L1] ¶¡ªº¤U©Ô¿z¿ï¡A§_«h±NµLªk "´¡¤J" ¸ê®Æ¦C¡C |
|