½Ð°Ý°ª¤ân±N¥H¤UDDE ¨C¤ÀÄÁ°O¿ý§ï¬°30¬í¦Û°Ê°O¿ý¤@¦¸n«ç§ï
- ©«¤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
|
¦^´_ 120# areskevin
§A³]¤F¤@Ó Public Sub Timer() ªº¼Ò²Õªº¶}©l¡A
«o¨S¦³¼Ò²Õªºµ²§ô (End Sub)¡A©Ò¥H·|²£¥Í°õ¦æ¤§¿ù»~¡C
§¹¾ãªº¼Ò²ÕÀ³¬°¡G- Public Sub Timer()
- Dim Pos, i, HHMM As Integer, RangeStr As String
-
- On Error Resume Next
- Sheets("¨C¤À°O¿ý").Cells(2, 4) = Time
-
- HHMM = Hour(Time) * 100 + Minute(Time)
- If (HHMM < 900 Or HHMM > 1333) Then Exit Sub
-
- With Sheets("¨C¤À°O¿ý")
- .Cells(2, 2) = .Cells(2, 2) + 1
- Pos = .Cells(2, 2)
- .Cells(Pos, 1) = Time
- .Cells(Pos, 2) = .Cells(2, 2)
- .Cells(Pos, 3) = .Cells(2, 3)
- End With
-
- Application.OnTime Now + TimeValue(LastMin), "ThisWorkbook.Timer"
- End Sub
½Æ»s¥N½X ¦ý¬O§Ú¹ê¦b¬Ý¤£À´ With Sheets("¨C¤À°O¿ý") ùØÀY
¨s³º¦b´yz¬Æ»ò¡A·Qn°µ¬Æ»ò¡C
¦]¬° .Cells(2, 2) ¤º®e¹ê»Ú¤W«üªº¬O "=(¤º¥~½L!D35)"¡C |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 120# areskevin
¸Õ¸Õ¬Ý¬O§_¬O§Aªº´£°Ý¡G- Public Sub Timer()
- Dim Pos As Long, HHMM As Integer
-
- With Sheets("¨C¤À°O¿ý")
- HHMM = Hour(Now) * 100 + Minute(Now)
- If (HHMM < 900 Or HHMM > 1333) Then Exit Sub
-
- .Cells(2, 4) = Now
- Pos = .Range("A" & Rows.Count).End(xlUp).Row + 1
- .Cells(Pos, 1) = Format(.Cells(2, 4), "HH:MM:SS")
- .Cells(Pos, 2) = .Cells(2, 2)
- .Cells(Pos, 3) = .Cells(2, 3)
- End With
-
- ' Application.OnTime Now + TimeValue(LastMin), "ThisWorkbook.Timer"
- Application.OnTime Now + TimeValue("00:01:00"), "ThisWorkbook.Timer"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 120# areskevin
¥[¤J¦Û°Ê§PÂ_½s¦C¤é´Á¤§¹ïÀ³¼g¤J¡A
¨Ñ§A´ú¸Õ°Ñ¦Ò¡G
¨C¤À°O¿ý2.rar (15.64 KB)
|
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 120# areskevin
- Public Sub Timer()
- Dim Pos As Long, HHMM As Integer, col As Variant
-
- With Sheets("¨C¤À°O¿ý")
- HHMM = Hour(Now) * 100 + Minute(Now)
- If (HHMM < 900 Or HHMM > 1333) Then Exit Sub
-
- .Cells(2, 4) = Now
- ' Time 6/21 6/21 6/22 6/22 6/23 6/23 6/24 6/24 6/25 6/25
- Set col = Range(.Range("A5"), .Cells(5, .[A5].End(xlToRight).Column)).Find(Format(.Cells(2, 4), "M/D"), LookIn:=xlValues, LookAt:=xlWhole)
- Pos = .Range("A" & Rows.Count).End(xlUp).Row + 1
- .Cells(Pos, 1) = Format(.Cells(2, 4), "HH:MM:SS")
- .Cells(Pos, col.Column) = .Cells(2, 2)
- .Cells(Pos, col.Column + 1) = .Cells(2, 3)
- End With
-
- ' Application.OnTime Now + TimeValue(LastMin), "ThisWorkbook.Timer"
- Application.OnTime Now + TimeValue("00:01:00"), "ThisWorkbook.Timer"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 120# areskevin
¬°¤FÅý§A¯à¹ê»ÚÁA¸Ñ "¨C¤À°O¿ý" ªº¹ê°È¼¶¼g¡A
°µ¤F¦¹À³¥Î½d¨Ò¡A´£¨Ñ§A±o¥H¥þ½L©úÁA
¦p¦ó¥h¹ê»Ú±±¨î¨C¤ë¨C¤éªº¯u¹ê¾Þ½L¬ö¿ý¼g¤J
¨Ã¦A§A쥻ªººc·Q¦Ó¾ã²z¥X¨Ó¤§µ{¦¡¹ê»Ú
À³¥Î½d¨Ò¡A§Æ±æ§AÂǦ¹¯àÁ|¤@¤Ï¤T¥[¥Hµo´§¡C
- Public Sub Timer()
- Dim Pos As Long, HHMM As Integer, col As Variant
-
- With Sheets("¨C¤À°O¿ý")
- HHMM = Hour(Now) * 100 + Minute(Now)
- If (HHMM < 900 Or HHMM > 1333) Then Exit Sub
-
- .Cells(2, 4) = Now
- ' Set col = Range(.Range("A5"), .Cells(5, .[A5].End(xlToRight).Column)).Find(Format(.Cells(2, 4), "M/D"), LookIn:=xlValues, LookAt:=xlWhole)
- ' Sheets("¨C¤À°O¿ý").[A4].End(xlToRight).Column = 15 : Variant/Long
- ' Sheets("¨C¤À°O¿ý").[A5].End(xlToRight).Column = 2 : Variant/Long (¦X¨ÖÀx¦s®æ©ö³y¦¨ End(xlToRight).Column §PÂ_¿ù»~)
- Set col = Range(.Range("A5"), .Cells(5, .[A4].End(xlToRight).Column)).Find(Format(.Cells(2, 4), "M/D"), LookIn:=xlValues, LookAt:=xlWhole)
- Pos = .Cells(Rows.Count, col.Column - 1).End(xlUp).Row + 1 ' §¡¥H¨ä¬Û¹ïÀ³¤§·í¤é (col) ¬°°ò·Ç
- ' Pos = .Range("A" & Rows.Count).End(xlUp).Row + 1
- .Cells(Pos, col.Column - 1) = Format(.Cells(2, 4), "HH:MM:SS")
- .Cells(Pos, col.Column) = .Cells(2, 2)
- .Cells(Pos, col.Column + 1) = .Cells(2, 3)
- End With
-
- ' Application.OnTime Now + TimeValue(LastMin), "ThisWorkbook.Timer"
- Application.OnTime Now + TimeValue("00:01:00"), "ThisWorkbook.Timer"
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤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
|
|
|
|
|
|
|
- ©«¤l
- 3
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 2
- ÂI¦W
- 0
- §@·~¨t²Î
- W10
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-6-21
- ³Ì«áµn¿ý
- 2016-6-30
|
¦^´_ 126# c_c_lai
c_c_lai¤j±z¦n^^
èè¹Á¸Õ¤F¤@¤U
§âµ{§Ç¥[¤J
ÁÙ¬OµLªk¸õ°Ê
½Ð°Ý¦pªG¬Û¦P»yªk¼g¤J¦b2013ªºexcel¤]¥i¥H¶Ü¡H
¥t¥~¦]¬°§ÚµLªk¤U¸üªþ¥ó¡A
¯à§_³Â·Ð±z§âªþ¥ó±H°eµ¹§Ú©O¡H
[email protected]
§Æ±æ¦³´Â¤@¤é¯à¸òc_c_lai¤j¤@¼Ë
¯à¦^´_¥L¤Hªº°ÝÃD
¸U¤À·PÁ |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 127# areskevin - Option Explicit
- Dim LastMin As String
- Private Sub Workbook_Open()
- LastMin = "00:01:00"
- Call Timer
- End Sub
- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- On Error Resume Next
- Application.OnTime Now + TimeValue("00:00:01"), "ThisWorkbook.Timer", , False
- End Sub
- Public Sub Timer()
- Dim Pos As Long, HHMM As Integer, col As Variant
-
- With Sheets("¨C¤À°O¿ý")
- HHMM = Hour(Now) * 100 + Minute(Now)
- If (HHMM < 900 Or HHMM > 1333) Then Exit Sub
-
- .Cells(2, 4) = Now
- Set col = Range(.Range("A5"), .Cells(5, .[A4].End(xlToRight).Column)).Find(Format(.Cells(2, 4), "M/D"), LookIn:=xlValues, LookAt:=xlWhole)
- Pos = .Cells(Rows.Count, col.Column - 1).End(xlUp).Row + 1 ' §¡¥H¨ä¬Û¹ïÀ³¤§·í¤é (col) ¬°°ò·Ç (Pos = 6 : Long)
- ' Pos = .Range("A" & Rows.Count).End(xlUp).Row + 1
- .Cells(Pos, col.Column - 1) = Format(.Cells(2, 4), "HH:MM:SS")
- .Cells(Pos, col.Column) = .Cells(2, 2)
- .Cells(Pos, col.Column + 1) = .Cells(2, 3)
- End With
-
- Application.OnTime Now + TimeValue(LastMin), "ThisWorkbook.Timer"
- ' Application.OnTime Now + TimeValue("00:01:00"), "ThisWorkbook.Timer"
- End Sub
½Æ»s¥N½X ¦¬¦¬ Mail¡I
|
|
|
|
|
|
|
- ©«¤l
- 2
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 3
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOWS7
- ³nÅ骩¥»
- 64
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-6-25
- ³Ì«áµn¿ý
- 2016-10-14
|
¤Ó´Î©Ô ³o¸Ì²×©ó§ä¨ì§ÚnªºªF¦è »Å®@:D |
|
¤p¯Î
|
|
|
|
|
- ©«¤l
- 1
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-7-8
- ³Ì«áµn¿ý
- 2016-8-19
|
·Q½Ð°Ý¦pªG·Qn¤@¶}½L´N¥ý§â¬Q¤Ñ¨C30¬í°O¿ýªº¸ê®Æ²¾°£,À³¸Ón¦A¸É¤W«ç¼Ëªºµ{¦¡½X©O??
¥t¥~,·Q½Ð°Ý¤@¤U,¦³¨Ç·Qª¾¹Dªº¸ê°T¦pªGÃÒ¨÷°Ó¨S¦³¨ºÓ«~¶µªº¥N½X¬O¤£¬O´NµLªk¨ú±o©O?
Ä´¦p:¤j½Lªºº¦¶^®a¼Æ..etc. |
|
|
|
|
|
|