½Ð°Ýµ{¦¡°õ¦æ«á¤£©úì¦]¦Û°Ê¤¤Â_(«e´X¤é¥¿±`)¬O§_¼gªk¦³»~?
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 79
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-3-8
- ³Ì«áµn¿ý
- 2022-4-16
|
½Ð°Ýµ{¦¡°õ¦æ«á¤£©úì¦]¦Û°Ê¤¤Â_(«e´X¤é¥¿±`)¬O§_¼gªk¦³»~?
¥»©«³Ì«á¥Ñ fei6999 ©ó 2011-12-20 11:15 ½s¿è
- Sub ´Á³f()
- '¦bBÄæ¨Ì§Ç¼g¤JL2
- Dim nb, XC, DF, KJ As Long
- 'On Error Resume Next
- If Time > TimeValue("13:45:20") Then Range("O1") = "OFF": Exit Sub
- nb = 0
- XC = 0
- DF = 0
- KJ = 0
- If Sheet1.Range("b3") > 0 Then Sheet1.Range("b2") = Sheet1.Range("b3"): Sheet1.Range("b3") = ""
- nb = IIf(Sheet1.Range("b2") = "", 2, Sheet1.Range("b3").End(xlUp).Row + 1)
- Sheet1.Cells(nb, 2) = Sheet1.Range("L2")
- If Sheet1.Range("b3") > 0 Then Sheet1.Range("C2") = "=B3-B2"
- If Sheet1.Range("C2") < 0 Then Sheet1.Range("C2") = ""
- If Sheet1.Range("b7") > 0 Then Sheet1.Range("b6") = Sheet1.Range("b7"): Sheet1.Range("b7") = ""
- XC = IIf(Sheet1.Range("b6") = "", 6, Sheet1.Range("b7").End(xlUp).Row + 1)
- Sheet1.Cells(XC, 2) = Sheet1.Range("J2")
- If Sheet1.Range("b7") > 0 Then Sheet1.Range("C6") = "=B7-B6"
- If Sheet1.Range("B7") = "" Then Sheet1.Range("C6") = ""
- If Sheet1.Range("C2") >= Sheet1.Range("E2") Then
- DF = IIf(Sheet1.Range("F2") = "", 2, Sheet1.Range("F20000").End(xlUp).Row + 1)
- Sheet1.Cells(DF, 6) = Sheet1.Range("C2")
- Sheet1.Cells(DF, 7) = Sheet1.Range("C6")
- End If
- KJ = IIf(Sheet1.Range("P2") = "", 2, Sheet1.Range("P20000").End(xlUp).Row + 1)
- Sheet1.Cells(KJ, 16) = Sheet1.Range("J4")
- Sheet1.Cells(KJ, 17) = Sheet1.Range("M4")
- Sheet1.Cells(KJ, 18) = Time
- Sheet1.Cells(KJ, 19) = Sheet1.Range("o4")
- If Range("O1") = "OFF" Then Exit Sub
- Application.OnTime Now + TimeValue("00:00:01"), "´Á³f" '±Ò°Ê¨C¹j1¬í°õ¦æ¥»µ{¦¡
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 79
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-3-8
- ³Ì«áµn¿ý
- 2022-4-16
|
À³¸Ó¬O¤Ö«Å§i³o¤@¦æ
Option Private Module
¥[¤W«á´N¹B§@¥¿±`
·PÁÂ! |
|
|
|
|
|
|
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 79
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-3-8
- ³Ì«áµn¿ý
- 2022-4-16
|
¦P¼Ëªº°Ê§@¤µ¤Ñ¥Ø«e¬°¤î«o¥¿±`¦³°÷©_©Ç! |
|
|
|
|
|
|
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 79
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-3-8
- ³Ì«áµn¿ý
- 2022-4-16
|
§Úµo²{¬O§Ú¦b¥t¤@ÓEXCELÀɤu§@®Éµ{¦¡³º³Q¤¤Â_
²Ä¤@¦¸¹J¤W³oºØ±¡§Î
¤§«e¨Ã¨S¦³³o¼Ë¹L
³o±¡§Î¥¿±`¶Ü? |
|
|
|
|
|
|