DEAR ALL ¤j¤j
1.¹Ï¤@¬°Åܧó±K½X¤§µ{¦¡.°ÝÃDÂI½Ð±Ð¦p¤U
1.1 ¨Ï¥Î¼Æ¦r±K½X¹B§@µL°ÝÃD
1.2¨Ï¥Î ^¤å+¼Æ¦r «h InputBox¨q¥X "¤£¥¿½T¤§¼Æ¦r"
2.½Ð°Ý¥i¦³¸Ñ¨M¤è¦¡.·Ð¤£§[½ç±Ð.THANKS*10000
¹Ï¤@
Sub Åܧó±K½X()
'Sheet3.Range("C2").Value
If Sheet1.Range("F3") = Sheet3.Range("A2") Then
X = Application.InputBox("½Ð¿é¤Jì±K½X", "¿é¤J·s±K½X", , , , , , 1)
If X = False Then MsgBox "¤w¨ú®ø¿é¤J": Exit Sub Else MsgBox "¿é¤J¼ÆÈ¬°" & X
If Sheet3.Range("C2").Value <> X Then
MsgBox "±K½X»P¸ê®Æ®wȤ£¦P-µLªkÅܧó-·Ð«·s¿é¤J"
End If
If Sheet3.Range("C2").Value = X Then
If Not (X = "" Or X = " ") Then
i = Application.InputBox("½Ð¿é¤J·s±K½X", "¿é¤J±K½X", , , , , , 1)
J = Application.InputBox("½Ð«Âпé¤J·s±K½X", "«Âпé¤J±K½X", , , , , , 1)
If i = False Or J = False Then MsgBox "¤w¨ú®ø¿é¤J": Exit Sub Else MsgBox "¿é¤J¼ÆÈ¬°" & i
End If
If i = J Then
Sheet3.Range("C2").Value = i
MsgBox "±K½XÅܧ󧹦¨"
End If
If i <> J Then
MsgBox "·s±K½X-«Âпé¤J¤§È¤£¦P-µLªkÅܧó-·Ð«·s¿é¤J"
End If
End If
End If
END SUB |