¡y¤w¸Ñ¨M¡zdde tick¸ê®ÆÂà´«¤ÀÄÁ¸ê®Æ
- ©«¤l
- 32
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 55
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-4-25
- ³Ì«áµn¿ý
- 2011-12-18
|
¥»©«³Ì«á¥Ñ ko310kmo ©ó 2011-5-9 11:12 ½s¿è
¦^´_ 11# GBKEE
ÁÂÁ¤j¤j
¤µ¤Ñ¸Õ¶]µ{¦¡¡A§Ú¦Û¦æ¦A°µ¤FÂIקï«á
µo²{¤F¤@Ó°ÝÃD
´N¬O³Ì§C»ù³ºµM¤ñ¦¬½L»ù°ª
§Ú·Q¥i¯à¬O¦]¬°§Ú̦b¤@¶}©l´N AR(4, i) = .Cells(i, 3)
©Ò¥Hµ{¦¡´N§ì³Ì¤@¶}©lªºCells(i, 3)
½Ð°Ý¸Ó¦p¦óקï?
¥t¥~¦A½Ð±Ð
¤j¤j©Ò¼gªº
P = Sheets(.Cells(i, 2).Text).Cells(Rows.Count, "J").End(xlUp).Row + 1
½Ð°Ý·í¤¤¬°¤°»òn¼g¡y¡¨¢Ø¡¨¡z
ÁÂÁ¤j¤jªº±Ð¾É
°}¦C.rar (23.02 KB)
|
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 32
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 55
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-4-25
- ³Ì«áµn¿ý
- 2011-12-18
|
¦^´_ 11# GBKEE
¤j¤j
§Ú«á¨Ó¦Û¤w¦A´ú¸Õ
§â¤j¤j¦b¤»¼Ó¡@¼gªºµ{¦¡§ï¶K¨ì¡@¤@¯ë¼Ò²Õ
¨Ã¦A¼g¤@Ó
¡ySub test3()
Call test2
TickTime = Now + TimeValue("00:01:00")
Application.OnTime TickTime, "test3"
End Sub¡z
´N¥i¥H§¹¦¨¨C¤Àªº¸ê®Æ§ó·s¡A¦Ó¥B¤£·|§â§Ú쥻dde¼g¤Jªº¤½¦¡¬~±¼¡A
¤]´N¬O§Ú쥻¦b²Ä¤Q¼Ó©Ò»¡ªº°ÝÃD¡C
¦ý¨Ì·|¥X²{§Ú²Ä¢°¢±¼Ó
³Ì§C»ù³ºµM¤ñ¦¬½L»ù°ªªº°ÝÃD¡I¡I
ªþ¤Wקï«á¡B°õ¦æ«áªºÀɮסA
Àµ½Ð¤j¤j±Ð¾É¡I¡I
ÁÂÁ¡B·P¿E¤£ºÉ:)
³Ì«á´ú¸Õ.rar (44.46 KB)
|
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 12# ko310kmo
¥i¥ÎÄæ¦ìªº^¤å¦r¥Àªí¥Ü Cells(1, "J") =>Range("J1")
³Ì§C»ù³ºµM¤ñ¦¬½L»ù°ª ×¥¿¦p¤U
- Sub Ex()
- Dim t As Date, i%, R%, P%
- With Sheet1
- R = .[B1].End(xlDown).Row
- Do
- ReDim AR(1 To 6, 2 To R)
- t = Time
- For i = 2 To R
- AR(1, i) = TimeSerial(Hour(Time), Minute(Time), 0) '¨C¤ÀÄÁ®É¶¡
- AR(2, i) = .Cells(i, 3) '¨C¤ÀÄÁªº¶}½L»ù
- AR(3, i) = .Cells(i, 3) '¨C¤ÀÄÁªº³Ì°ª»ù
- AR(5, i) = .Cells(i, 3) '¨C¤ÀÄÁªº³Ì§C»ù
- 'AR(6, i) = .Cells(i, 4) '¨C¤ÀÄÁªº¦¨¥æ¶q
- Next
- If Minute(Time) = Minute(t) Then
- Do While Minute(Time) = Minute(t)
- For i = 2 To R
- DoEvents
- AR(3, i) = IIf(.Cells(i, 3) > AR(3, i), .Cells(i, 3), AR(3, i)) '¨C¤ÀÄÁªº³Ì°ª»ù
- AR(5, i) = IIf(.Cells(i, 3) < AR(5, i), .Cells(i, 3), AR(5, i)) '¨C¤ÀÄÁªº³Ì§C»ù
- ' AR(6, i) = AR(6, i) + .Cells(i, 4) '¨C¤ÀÄÁªº¦¨¥æ¶q
- Next
- Loop
- For i = 2 To R
- AR(4, i) = .Cells(i, 3) '¨C¤ÀÄÁªº¦¬½L»ù
- P = Sheets(.Cells(i, 2).Text).Cells(Row.Count, "J").End(xlUp).Row + 1
- Sheets(.Cells(i, 2).Text).Range("J" & P).Resize(1, 6) = Application.Index(Application.Transpose(AR), i - 1)
- Next
- End If
- Loop Until Time <= #1:30:00 PM#
- End With
- End Sub
½Æ»s¥N½X
«Øij¦¹µ{§Ç ¥ÎThisWorkbookªºµ{§Ç ¦Û°Ê°õ¦æ
Private Sub Workbook_Open()
Ex
End Sub |
|
|
|
|
|
|
- ©«¤l
- 32
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 55
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-4-25
- ³Ì«áµn¿ý
- 2011-12-18
|
¥»©«³Ì«á¥Ñ ko310kmo ©ó 2011-5-10 23:04 ½s¿è
¦^´_ 15# GBKEE
¤j¤j
¡yµ{¦¡¤@°õ¦æ«áª½¨ì Loop Until Time <= #1:30:00 PM# ¤~°±¤îªº¡z
³oÓ§ÚÀ´¡A¦ý«Ü©_©Çªº¬O
§Ú13¼ÓªþªºÀÉ
¬O¥ý°õ¦æ test1¡Aµ¥¥¦¶]§¹¦A°õ¦ætest3
³o¼Ë¬O¥i¥H¨C¤À§ó·sªº
¦pªG§Ú¬O¥ý°õ¦ætest1¦A°õ¦ætest2¡A¨S¦³³]©wtest3
³o¼Ë¤ÀÄÁ¸ê®Æ¥u·|§ó·s²Ä¤@¹M¡C
§Úµ¥©ú¤é¶}½L«á¡A¦A´ú¸Õ¬Ý¬Ý¡A
ÁÂÁ¤j¤jªºÀ°¦£:) |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 32
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 55
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-4-25
- ³Ì«áµn¿ý
- 2011-12-18
|
¦^´_ 15# GBKEE
«D±`·PÁ¤j¤jªºÀ°¦£¡A¤w¸Ñ¨M§Úªº°ÝÃD¤F¡I¡I¡I
¤£¹L¢´¡þ¢°¢¯¤é¡A¦A¦¸´ú¸ÕÁÙ¬O±o¨ì¬Û¦Pªºµ²ªG
ok.5.10.rar (74.4 KB)
|
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 1
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-10-12
- ³Ì«áµn¿ý
- 2011-10-12
|
|
|
|
|
|
|
- ©«¤l
- 4
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 5
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN10
- ³nÅ骩¥»
- office2016
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2018-12-3
- ³Ì«áµn¿ý
- 2019-8-24
|
¹ï©óµ{¦¡¦³ÂI¤£¤F¸Ñ¡A«ç»òµ¥«Ý¤@¤ÀÄÁ¡Aµ¥«ÝK½u¤£´N·|¥¢¯u¡A°ªÂI§CÂI§ì¤£·Ç¡Aµ{¦¡À³¸Ón¤£°±¤ñ¸û°ª§CÂI¤~¹ï¡I |
|
|
|
|
|
|