- ©«¤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
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2013-8-6 23:30 ½s¿è
§Ú¤W±ªº´N¬O¦p¦¹¼gªº,¦]¬°¦³or§PÂ_
¦b¿é¥X®É¡A¦p¦ó§ï¬°
1. ¦pZZ > ZZ.Offset(, 26) * 1.01 ,«h ¿é¥X "º¦" ¤Î ZZ »P ZZ.Offset(, 26) * 1.01 ¤§®t
2. ¦pZZ < ZZ.Offset(, 26) * 1.01 ,«h ¿é¥X "¶^" ¤Î ZZ »P ZZ.Offset(, 26) * 1.01 ¤§®t
t8899 µoªí©ó 2013-8-5 04:35
¦]¬°¨S¦³§A¹ê»Úªºµ{¦¡¤º®e,
©Ò¥H¥u¦n®³§A¤§«eªºµ{¦¡¨Óקï,
§A¦A°Ñ·ÓµÛÀ³¥Î.- Private Sub Worksheet_Calculate()
- Dim lCount As Long, lDir As Long
- Dim sStr$
- Dim ZZ As Range
- Dim rRoF()
- rRoF = Array("¶^", "º¦")
- sStr = ""
- lCount = 0
- For Each ZZ In Range("f2:F54")
- If Not IsError(ZZ) Then
- lDir = ZZ - ZZ.Offset(, -1)
- If Abs(lDir) > 0.01 And Range("I1").Value = 1 Then
- If sStr <> "" Then sStr = sStr & Chr(10)
- sStr = sStr & "===> " & Cells(ZZ.Row, 2).Value & "=====> " & rRoF(-(lDir > 0)) & " " & Abs(lDir)
- lCount = lCount + 1
- End If
- End If
- Next
- If sStr <> "" And lCount > 5 Then CreateObject("Wscript.shell").Popup sStr, 15, "Auto Closed MsgBox", 64
- End Sub
½Æ»s¥N½X¦¹¥y Application.OnTime Now + TimeValue("00:00:15"), "ccc" , ¬O§_·|¶] AAA,BBB ??
¤£·|, §A¤w¸g«ü©w¥¦¥h¶] ccc ¤F,
°£«D§A¦b ccc ¤¤¦³¥[¤W Call AAA ¤Î Call BBB.
°õ¦æ¥¨¶°®É¡A¦p¦ó¤£¦û¥Î¥Ø«e¤u§@ªíµøµ¡ ??
±N¤£·Q¥X²{¤Á´«°Ê§@ªº¦a¤èªº .select ®³±¼,(¬Û¹ïªº¦³ Selection ªº¦a¤è¤]nקï)
©Î¬O¦b¤£·Qµe±Åܰʪº°Ï¶¡¥H
Application.EnableEvents = False ¤Î
Application.EnableEvents = true ¥]ÂÐ.
¤U±¦¹¬q¤u§@ªí¦³ÅÜ°Ê¡A¦ý±ø¥ó¥¼¹F¨ì(flag=false)¡A³Ì«á¤@¦æ Application.OnTime Now + TimeValue("00:00:1 ...
t8899 µoªí©ó 2013-8-5 07:21
§ï¦¨ :
If flag Then Application.OnTime Now + TimeValue("00:00:15"), "DDD" |
|