Àx¦s¤£·|¦Û°Ê°±¤î¡A¸Ó«ç»ò§ï¡H
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 9# ahsiek
¨ºSetTimer2¤¤§ï¬° If mainFunc2(sSheetName)
¥t·s¼W:- Function mainFunc2(sSheetName As String) As Long
- Dim i As Long
-
- With Sheets(sSheetName)
- i = .Cells(.Rows.Count, 1).End(xlUp).Row + 1
- '...°O¿ýlog
- .Cells(i, "A") = Format(Time, "Hh:Mm:Ss")
- .Cells(i, "E").Resize(, 3).Value = .Cells(3, "B").Resize(, 3).Value
- End With
-
- mainFunc2 = i '¦^¶Ç·í«e¦C¼Æ
- End Function
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 48
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-4-9
- ³Ì«áµn¿ý
- 2019-12-17
|
¦^´_ 8# stillfish00
ì¨Ó¦p¦¹¡A¦]¬°§Ú¬O¬Ý¤@Óª©¥»§ï¼gªº¡A¨S·Q¨ì¿ù»~¤@°ï¡C
ÁÂÁ¡C¯à¨Ï¥Î¤F¡A§Ú·|¦n¦n¬ã¨sªº¡C
¤£¹L§Ú¥i¥H¦A°Ý¤@Ó°ÝÃD¶Ü¡H
SetTimer1©MSetTimer2³£¬O§äFunction mainFunc(sSheetName As String) As Long
¥i¬O¦]¬°BB¤u§@ªín½Æ»s©M¶K¤WªºÀx¦s®æ©MAA¤u§@ªí¤£¤@¼Ë¡A§ä¦P¤@ÓFunction·|ÅýBB¤u§@ªíªº©ÒÀx¦sªº¤º®e·|·d¿ù¡C
¬O¤£¬O¯à°÷¦A¼g¤@Ó Function mainFunc(sSheetName As String) As Long ÅýSetTimer2¥h§ä©O¡H
BB¤u§@ªín½Æ»sªº¬O
.Cells(i, "A") = Format(Time, "Hh:Mm:Ss")
.Cells(i, "E").Resize(, 3).Value = .Cells(3, "B").Resize(, 3).Value
¥i¥H¦A³Â·Ð§A³oÓ³¡¥÷¶Ü¡HÁÂÁ¡C |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¥»©«³Ì«á¥Ñ stillfish00 ©ó 2013-8-6 11:35 ½s¿è
¦^´_ 3# ahsiek
¸ß°Ýªº°ÝÃD¦p¤U¡G
1. AA(¤u§@ªí)¶}©l«áµLªk¦Û°Ê°±¤î¡A§Ú³]©w¦bROW33«á´N°±¤îÀx¦s
µ²ªG¡A¦bROW33¬O°±¤F¡A¦ý¥¦´N¶]¨ìROW2¡B3¡A´N¦b¨º¸ÌÄ~Äò§@°Ê§@¡C
³o¬O§Úþ¸Ì¼g¿ù¤F¶Ü¡H
º¥ý§A¥Î³o¨ú³Ì«á¤@¦æªº¦æ¸¹
endCol = ¤u§@ªí29.Cells(33, 1).End(xlUp).Row
End(xlUp)¬Û·í©ó«ö END+¦V¤WÁä¡A·íA1~A33³£¦³È®É¡A³o¦æ¨ú¨ìªº¬O1
¦A¨Ó§A¥Î
If ActiveCell.Row > 33 Then End '¨îÁ`¦C¼Æ
If ActiveCell.Column = 30 Then End '¤¤³~¤¤¤î
¦ý¬Oµ{¦¡¤¤¹ê»ÚActiveCell«o¤@ª½¬O©T©w¦P¤@®æ¡A·íµM¤£·|²×¤î
¦Ó¥B¤Á´«¤u§@ªíActiveCell¤]·|ÅÜ...........
2. BB(¤u§@ªí)¤]¬O¦p¦¹¡A³o¨âÓ¤u§@ªíªº¿ý»s¬O¤@¼Ëªº¡C©Ò¥H¤]¬O¤£·|¦Û°Ê°±¤U¨Ó¡C
3. AA(¤u§@ªí)¡A¤@¥¹«ö¤U¶}©l°Ê§@¡AY§Ú¦A¥hBB(¤u§@ªí)«ö¤U¥ô·NÁä¡A«hAA(¤u§@ªí)©MBB(¤u§@ªí)³£¤£·|°Ê¤F¡C
4. AA(¤u§@ªí)¡AY«ö¤U²×¤îÁä¡Aµ²ªG³sBB(¤u§@ªí)¤]¸òµÛ¤£·|°Ê¤F¡C
°ò¥»¤W§Ú·|«¼g¦p¤U¡A§A¥i¥H°Ñ¦Ò¬Ý¬Ý¡G
- Private gbStop1 As Boolean
- Private gbStop2 As Boolean
- Sub ButtonStart1() 'AA¤u§@ªí¶}©l«ö¶s
- gbStop1 = False
- With ActiveSheet
- .UsedRange.Offset(3).ClearContents
- SetTimer1 .Name
- End With
- End Sub
- Sub ButtonStop1() 'AA¤u§@ªí°±¤î«ö¶s
- gbStop1 = True
- End Sub
- Sub ButtonStart2() 'BB¤u§@ªí¶}©l«ö¶s
- gbStop2 = False
- With ActiveSheet
- .UsedRange.Offset(3).ClearContents
- SetTimer2 .Name
- End With
- End Sub
- Sub ButtonStop2() 'BB¤u§@ªí°±¤î«ö¶s
- gbStop2 = True
- End Sub
- '±N¤£¦Pªíªº±Æµ{³¡¤À/¨î¦æ¼Æ/¤ÀÂ÷¥X¨Ó
- Sub SetTimer1(sSheetName As String)
- Const MAX_ROW = 34
- '¥¼¹F¨î¦æ¼Æ¥B¨S«ö°±¤î¶s«h±Æµ{1¬í«á¦A«×°õ¦æ
- If mainFunc(sSheetName) < MAX_ROW And Not gbStop1 Then Application.OnTime Now + TimeValue("00:00:01"), "'SetTimer1 """ & sSheetName & """'"
- End Sub
- Sub SetTimer2(sSheetName As String)
- Const MAX_ROW = 270
- If mainFunc(sSheetName) < MAX_ROW And Not gbStop2 Then Application.OnTime Now + TimeValue("00:00:01"), "'SetTimer2 """ & sSheetName & """'"
- End Sub
- Function mainFunc(sSheetName As String) As Long
- Dim i As Long
-
- With Sheets(sSheetName)
- i = .Cells(.Rows.Count, 1).End(xlUp).Row + 1
- '...°O¿ýlog
- .Cells(i, "A") = Format(Time, "Hh:Mm:Ss")
- .Cells(i, "J").Resize(, 8).Value = .Cells(3, "B").Resize(, 8).Value
- End With
-
- mainFunc = i '¦^¶Ç·í«e¦C¼Æ
- End Function
½Æ»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
|
¦^´_ 6# GBKEE
§Ú±N¥¦Âন 2003 .xls
¼ÆÈ°O¿ý.rar (158.64 KB)
¶¶«K³Â·Ð±zÀ°§Ú°Ý¤@¤U¡A³Ìªñºô¶µ{¦¡½X¬O§_¦³²§°Ê¨ì¡A
©ÎªÌ¥[¤F¤@¨Çµ{¦¡½X¡A¨Ï±o¨Ï¥Î Firefox ªº User µLªk°õ¦æ
¹Ï¤ù¡B©Îªþ¥ó¤W¶Ç¡A¥H¤Î "¬¯¬¯"ªº¥\¯àÁä ([Color] ~ [/Color])¡C
¥Ø«e§Ú¬O¥Î IE ¦^´_ªº¡AÁÂÁ±z¡I |
|
|
|
|
|
|
- ©«¤l
- 48
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-4-9
- ³Ì«áµn¿ý
- 2019-12-17
|
|
|
|
|
|
|
- ©«¤l
- 48
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2013-4-9
- ³Ì«áµn¿ý
- 2019-12-17
|
RE: Àx¦s¤£·|¦Û°Ê°±¤î¡A¸Ó«ç»ò§ï¡H(Àɮפw§ó·s)
¥»©«³Ì«á¥Ñ ahsiek ©ó 2013-8-5 01:11 ½s¿è
¦^´_ 2# luhpro
ì¨Ó¬O¤W¶ÇªºÀɮפ£¯à¶}±Ò¡A¦]¬°§ÚµLªk¥´¶}¤W¶Ç«áªºÀɮסA©Ò¥H¤£ª¾¹DÀɮרS¦³¤W¶Ç¦n¡C
ÁÂÁ§Aªº´£¿ô¡C§Ú«·s¦A¶Ç¤@¦¸¡A§Æ±æ³o¦¸¯à°÷¶¶§Q¡A¥B½Ð¦U¦ì¹F¤HÌ¥i¥HÀ°§Ú·Q·Q¿ìªk¡AÁÂÁ¡C
¼ÆÈ°O¿ý.rar (243.58 KB)
¸ß°Ýªº°ÝÃD¦p¤U¡G
1. AA(¤u§@ªí)¶}©l«áµLªk¦Û°Ê°±¤î¡A§Ú³]©w¦bROW33«á´N°±¤îÀx¦s
µ²ªG¡A¦bROW33¬O°±¤F¡A¦ý¥¦´N¶]¨ìROW2¡B3¡A´N¦b¨º¸ÌÄ~Äò§@°Ê§@¡C
³o¬O§Úþ¸Ì¼g¿ù¤F¶Ü¡H
2. BB(¤u§@ªí)¤]¬O¦p¦¹¡A³o¨âÓ¤u§@ªíªº¿ý»s¬O¤@¼Ëªº¡C©Ò¥H¤]¬O¤£·|¦Û°Ê°±¤U¨Ó¡C
3. AA(¤u§@ªí)¡A¤@¥¹«ö¤U¶}©l°Ê§@¡AY§Ú¦A¥hBB(¤u§@ªí)«ö¤U¥ô·NÁä¡A«hAA(¤u§@ªí)©MBB(¤u§@ªí)³£¤£·|°Ê¤F¡C
4. AA(¤u§@ªí)¡AY«ö¤U²×¤îÁä¡Aµ²ªG³sBB(¤u§@ªí)¤]¸òµÛ¤£·|°Ê¤F¡C
½Ð°Ý§Ú¬Oþ¸Ì¼g¿ù¤F¡A§Ú¤@ª½§ä¤£¥Xì¦]¨Ó¡C
´Á±æ¦U¦ì¹F¤H¤j¤jÌ¡A¯àÀ°§Ú¬Ý¤@¤U°ÝÃD¡AÁÂÁ¡C |
|
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
|
|
|
|
|
|