´Æ¤âªºexcel¹Bºâ°ÝÃD¡A¦p¦ó§ïµ½??
- ©«¤l
- 365
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 406
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 7
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2012-12-11
- ³Ì«áµn¿ý
- 2024-8-24
|
¦^´_ 29# c_c_lai
¦³¡A¤@ª½¦³ÅÜ°Ê |
|
|
|
|
|
|
- ©«¤l
- 365
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 406
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 7
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2012-12-11
- ³Ì«áµn¿ý
- 2024-8-24
|
¦^´_ 30# ã´£³¡ªL
·Ç¤j¡A§Ú¤£¤ÓÀ´§Aªº·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
|
¦^´_ 31# ÂŤÑÄR¦À
§A§â ThisWorkbook ¸Ìªº¨ç¼Æ¤º®eµy¥[²§°Ê
µM«á¤©¥HÀx¦s«á¡AÃö³¬«¶} Excel¡G- Option Explicit
- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- Application.RTD.ThrottleInterval = 2000
- Application.Calculation = xlCalculationAutomatic
- End Sub
- Private Sub Workbook_Open()
- Application.RTD.ThrottleInterval = 0
- Application.Calculation = xlCalculationManual
- End Sub
½Æ»s¥N½X ק令¡G- Option Explicit
- Private Sub Workbook_BeforeClose(Cancel As Boolean)
- Application.RTD.ThrottleInterval = 0
- Application.Calculation = xlCalculationManual
- End Sub
- Private Sub Workbook_Open()
- Application.RTD.ThrottleInterval = 2000
- Application.Calculation = xlCalculationAutomatic
- End Sub
½Æ»s¥N½X ¦A«·s¸Õ¸Õ¬Ý¡C
³o«K¬Oã´£³¡ªLª©¤j°Ý§Aªº°ÝÃD¡C |
|
|
|
|
|
|
- ©«¤l
- 365
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 406
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 7
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2012-12-11
- ³Ì«áµn¿ý
- 2024-8-24
|
¦^´_ 33# c_c_lai
¥i¬O¤§«e³o¼Ë³]©w¯à¶]¡A¬°¤°»ò¥[¤Fã¤jªºµ{¦¡¤§«á´N¤£¯à¶]©O?? |
|
|
|
|
|
|
- ©«¤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
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-1-29 07:38 ½s¿è
¦^´_ 34# ÂŤÑÄR¦À
§Ú«e«e«á«á¬d¬Ý¤F§A»Pã´£³¡ªLª©¤j¤W¶Ç¤À¨ÉªºÀɮסA
µo²{°ÝÃD¤´µM¥X¦Û©ó§Aªº¦Û¦æ¦A¾ã¦X¡Aã´£³¡ªLª©¤j
¤W¶Çªº¤º®e³£¨S¥[¤J Workbook_Open() ªº°õ¦æ¤º®e¡A
¬Æ¦Ü¦b²Ä¤@¦¸µ¹ªº Xl0000328.rar ¤]¥ç±N¥¦ Marked ±¼¡A
§A¥u±N¥¦¤À¨É¼Ò²Õ¤ºªº Sub ²Îp() ª½±µ¶K¤J¨ì§A쥻ªºÀɮפº
©Ò¥H¤~·|³y¦¨¥¼¯à¥¿±`°õ¦æªºì¦]¡C¬°À°§U§A§ó¯à©úÁAª©¤j
¼Ò²Õªº¹B§@¡A¯S¤©¦b¨ä¼Ò²Õ¤º¨C¤@´`Àô²Ó³¡¤ÀªR¸Ñ»¡¡A§Æ±æ§A
¯à¶i¤@¨B¾Ç²ß¨ì¦p¦ó¹B¥Î¡A¦P®É¯à¼W¶i§A¥»¨ªº¦Û§ÚÆ[¹î¤O¡C
§Ú±N¤T¤èªºµ{¦¡¼Ò²Õ¤©¥H²Õ¦X¤W¶Ç¤W¨Ó¡A§A´ú¸Õ¬Ý¬Ýµ²ªG¦p¦ó¡C
¸ÑÀ£«á«Kª½±µ¥Î¥¦¨Ó°õ¦æ´ú¸Õ¡A¦p¦¹¤~±o¥HÆ[´ú¨ä´ú¸Õµ²½×¡C
©ú²ÓÅÜ°Ê°O¿ý.rar (178.89 KB)
|
|
|
|
|
|
|
- ©«¤l
- 365
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 406
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 7
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2012-12-11
- ³Ì«áµn¿ý
- 2024-8-24
|
¦^´_ 35# c_c_lai
C¤j©p¯u¬O¤Ó²Ó¤ß¤F¡A·PÁ§A¡A§Ú¥ý¬ã¨s¬Ý¬Ý¡AÁÂÁ |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 36# ÂŤÑÄR¦À
³Ìªñ¦³ÂI¨Æ¯ÔÀÁ¤F¡C
§A¦b #10 ¸Ìªº»¡©ú¡Anªº¬O¡H
|
|
|
|
|
|
|
- ©«¤l
- 365
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 406
- ÂI¦W
- 0
- §@·~¨t²Î
- Win 7
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2012-12-11
- ³Ì«áµn¿ý
- 2024-8-24
|
¦^´_ 37# c_c_lai
´ú¸ÕC¤jªºÀɮ׫á¡Aµo²{¥i¯à°õ¦æ¤Ó¦hªF¦è¡ADDE³£¤£¤Ó·|¸õ°Ê¤F¡A¤§«e1¬í¸õ7-8¦¸¡A²{¦b2-3¬í¸õ°Ê¤@¦¸ |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 38# ÂŤÑÄR¦À
¨º§A¥Î§Ú¥Ø«e¤W¶ÇªºÀɮרӰµ´ú¸Õ¬Ý¬Ý¡C
´ú¸Õ§¹«á§i¶D§Ú¤@Ánµ²ªG¡C
§Ú¥ý§âã´£³¡ªLª©¤j¤À¨Éªº¥\¯à§ï¬° ²ÎpA()¡A
¥ý¤£¤©°õ¦æ¡A¦Ó¥h°õ¦æ§Ú¼W¥[¤§´ú¸Õ¼Ò²Õ
²Îp() ->dicStatics §AÆ[¹î¬Ý¬Ý¶i¦æ¶¶ºZ§_¡H
©ú²ÓÅÜ°Ê°O¿ý.rar (192.18 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
|
¦^´_ 38# ÂŤÑÄR¦À - Sub ²Îp() ' L¡BM¡BN¡BO Äæ¦ì²Îp
- Dim DD As Date
-
- dicStatics
- DD = Format(Now, "yyyy/mm/dd hh:mm") ' DD = 2016/1/28 ¤W¤È 12:41:00 : Date
- TimeTxt = DD + 1 / 1440 ' TimeTxt = 2016/1/28 ¤W¤È 12:42:00 : Variant/Date
- Application.OnTime TimeTxt, "²Îp" ' ¨C¤@¤ÀÄÁ¦Û°Ê¦A¦¸°õ¦æ¤@¦¸¡C
- End Sub
- Sub dicStatics()
- Dim txt As String, dic As Object, dic2 As Object, A As Range, sp As Variant
- ' txt = [B2] & Left(CStr(Format([A2], "HH:MM:SS")), 5)
- ' txt = [B2] & Left(CStr([A2]), 5)
- ' MsgBox txt
- Set dic = CreateObject("Scripting.Dictionary")
- Set dic2 = CreateObject("Scripting.Dictionary")
- For Each A In Range([A3], [A3].End(xlDown))
- txt = A.Offset(, 1) & "," & Left(Format(A, "HH:MM:SS"), 5)
- ' dic(txt) = IIf(IsEmpty(dic(txt)), A.Offset(, 4).Value + 1, dic(txt)) + A.Offset(, 4).Value
- ' ¦b IsEmpty(dic(txt)) §PÂ_®É¡A dic(txt) ·|¦Û°Ê¥ý½á¤©¤@¦¸¤§ A.Offset(, 4).Value È¡AµM«á¦A¦¸
- ' Assign ¤@¦¸ªº A.Offset(, 4).Value È¡A ¦p A.Offset(, 4).Value = -1¡A«hµ²ªG·|Åܦ¨ -2¡C
- ' ¬O¬G§ï¦¨¦p¤U¤è¦¡¡Aª½±µ½á¤©¤@¦¸¤§ A.Offset(, 4).Value È¡A«hµ²ªG«K·|Åܦ¨ -1 (ªì©lȳ]©w)¡C
- dic(txt) = dic(txt) + A.Offset(, 4).Value ' ¦¸
- dic2(txt) = dic2(txt) + A.Offset(, 2).Value ' ¶q
- Next
-
- [M3].Resize(UBound(dic.Keys) + 1) = Application.Transpose(dic.Keys) ' ¯Á¤ÞÈ´N¬O Keys
- [N3].Resize(UBound(dic.Keys) + 1) = Application.Transpose(dic.Items) ' ¸ê®Æ¤º®e´N¬O Items
- [O3].Resize(UBound(dic2.Keys) + 1) = Application.Transpose(dic2.Items) ' ¸ê®Æ¤º®e´N¬O Items
-
- With [M3].Resize(UBound(dic.Keys) + 1, 3) ' Range("M3:M" & [M3].End(xlDown).Row)
- .Cells.Sort Key1:=.Cells(1), Order1:=xlDescending, Header:=xlNo ' xlAscending
- End With
-
- For Each A In Range([M3], [M3].End(xlDown))
- sp = Split(A, ",")
- A.Offset(, -1) = sp(0)
- A = sp(1)
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|