- ©«¤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
|
¦^´_ 4# bowwow1975
¦p¦ó¸Ñ¨M ¥æ¬y¤@¤U
3#ªº¿ù»~- Option Explicit
- Dim Exit_Msg As Boolean '¦¹ÅܼƬOªí³æ¼Ò²Õªº¨p¥ÎÅܼÆ,¶·¬O¸m©óªí³æ¯ë¼Ò²Õ³»³¡
- Private Sub TextBox34_Change()
- With Sheet4
- .Range("H4").Value = TextBox34.Text
- End With
- End Sub
- Private Sub TextBox34_Exit(ByVal Cancel As MSForms.ReturnBoolean)
- If Exit_Msg = True Then Exit Sub
- If Not IsNumeric(TextBox34) Or Sheets(4).Range("h4") < Sheets(4).Range("C35") Or Sheets(4).Range("h4") > Sheets(4).Range("C34") Then
- '*****************************************************************************************************************
- '³o¸Ì¦³¥Ù¬Þ C34,C35, C36 ¼Æ¾Ú¬Oþ¸Ì¤~¥¿½T!!!!
- 'If Not IsNumeric(TextBox32) Sheets(4).Range("h4") < Sheets(4).Range("C35") Or Sheets(4).Range("h4") > Sheets(4).Range("C36") Then
- 'MsgBox "Np ¶·¬O ¤j©ó" & Sheets(4).Range("C35") & " ©M¤p©ó " & Sheets(4).Range("C34")
- '******************************************************************************************************************
- Cancel = True
- 'With textbox34
- ' .SelStart = 0
- ' .SelLength = Len(.Text)
- ' End With
- MsgBox "Np ¶·¬O ¤j©ó" & Sheets(4).Range("C35") & " ©M¤p©ó " & Sheets(4).Range("C34")
- End If
- End Sub
- Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
- Exit_Msg = True
- End Sub
½Æ»s¥N½X |
|