- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 14
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-6
|
¦^´_ 46# t8899
¦]¬°º¦¶^¨âÃä³£n°õ¦æ,
©Ò¥H·|¥[¨â¦æ :- Dim sStr$
- Dim ZZ As Range
-
- sStr = ""
- sStr2 = ""
- For Each ZZ In Range("c2:c111")
- If Not IsError(ZZ) Then
- If Range("Q26").Value = 1 And flag = True Then
- M = Round(ZZ - ZZ.Offset(, 26), 2)
- If M >= ZZ.Offset(, 2) Then
- If sStr <> "" Then sStr = sStr & Chr(10)
- sStr = sStr & "" & Cells(ZZ.Row, 2).Value & "=====> " _
- & Round(ZZ - ZZ.Offset(, 26), 2)
- ZZ.Offset(, 26) = ZZ ' <======= ¥[¦b³o¸Ì
- End If
- If M <= -ZZ.Offset(, 2) Then
- If sStr2 <> "" Then sStr2 = sStr2 & Chr(10)
- sStr2 = sStr2 & "" & Cells(ZZ.Row, 2).Value & "=====> " _
- & Round(ZZ - ZZ.Offset(, 26), 2)
- ZZ.Offset(, 26) = ZZ ' <======= ¥[¦b³o¸Ì
- End If
- End If
- End If
- Next
- If sStr <> "" Then
- CreateObject("Wscript.shell").Popup sStr, 4, "Auto Closed MsgBox", 64
- End If
- If sStr2 <> "" Then
- CreateObject("Wscript.shell").Popup sStr2, 4, "Auto Closed MsgBox", 64
- End If
½Æ»s¥N½X ¥t¥~,«Øij§A¥i¥H°Ñ¦ÒÃþ¦ü¤W±³o¼Ë¦³°µÁY±Æ³B²zªºµ{¦¡½s¼g²ßºD,
¥u»Ý¥ý§ä¨ì°Ï¶ôªº¬Y¤@Ãä,
ª½±µ«ö¤W©Î¤UÁä´N¯à½T»{°Ï¶ôªº½d³ò,
³o¼Ën§ä°ÝÃD©Î¬O¤Á¤JÂI·|¤ñ¸û®e©ö,
¤]¤ñ¸û¤£®e©ö¦]¬°n§ä¤@¨Ç¯ÊªF¯Ê¦èªº°ÝÃD¦Ó®ö¶O¼gµ{¦¡ªº®É¶¡. |
|