- ©«¤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
        
|
¦^´_ 7# lucky12345
ªþÀɪºWorksheet_Calculate() ¬Osheet3¤u§@ªí¼Ò²Õ(Sheets("sheet2")ªº«ºâ¨Æ¥óµ{§Ç
n§ï©ñ¦bSheet1¤u§@ªí¼Ò²Õ(Sheets("Sheet4")ªº«ºâ¨Æ¥óµ{§Ç- Private Sub Worksheet_Calculate()
- 'Sub count_time()µ{¦¡½X Sheet1.[G14] = IIf(The_Time = 0, 0, Sheet1.[G14] + 1)
- 'Sheet1¬O Sheets("sheet4")¦bVBA¤¤ªºCodeName (ª«¥óªº¥N½X¦WºÙ)
- 'µ{¦¡½X ¥i§ï¦¨ [Sheet4!G14] = IIf(The_Time = 0, 0, [Sheet4!G14] + 1)
-
- '[Sheet4!G14]-> [¬¡·~諸(¦p¤u§@ªí¤W)¤½¦¡,¦WºÙ,¨ç¼Æ]
- Application.EnableEvents = False
- With Sheet3
- If UCase(.[B1000]) = "K" Then
- .[q1000:s993] = .[q1001:s1008].Value
- End If
- 'If [Sheet4!G14] <= 9 Then .[Q992:S1000] = ""
- '***************************************
- If [G14] <= 9 Then .[Q992:S1000] = ""
- '¨S¦³ . [G14]¬°³o¤u§@ªí¼Ò²Õ¤Wªº[G14]
- '¤£¬O Sheet3ªº [G14]
- '****************************************
-
- If .[P993] >= 1 Then .[R993:S993] = ""
- If .[P994] >= 1 Then .[R994:S994] = ""
- If .[P995] >= 1 Then .[R995:S995] = ""
- If .[P996] >= 1 Then .[R996:S996] = ""
- If .[P997] >= 1 Then .[R997:S997] = ""
- If .[P998] >= 1 Then .[R998:S998] = ""
- If .[P999] >= 1 Then .[R999:S999] = ""
- End With
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X |
|