- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2025-2-15
|
Private Sub CommandButton1_Click()
Dim PassWD, xE1 As Range, xE2 As Range, T$
If TextBox1 = "" Then MsgBox "½Ð¿é¤JID": Exit Sub
If TextBox2 = "" Then MsgBox "½Ð¿é¤J±K½X": Exit Sub
¡@
Set xE1 = [¥æ±µ¨Æ¶µ!A65536].End(xlUp)(2)
Set xE2 = [¥æ±µ¨Æ¶µ!I65536].End(xlUp)(2)
¡@
PassWD = Application.VLookup(TextBox1, [Sheet3!E:F], 2, 0)
If IsError(PassWD) Then T = "ID¿ù»~"
If T = "" Then If PassWD & "" <> TextBox2.Text Then T = "±K½X¿ù»~"
If T <> "" Then
¡@¡@xE2.Resize(1, 4) = Array(Date, Time, TextBox1, T): MsgBox T: GoTo 999
End If
¡@
xE1.Resize(1, 3) = Array(Date, Time, TextBox1): MsgBox "µn¤J¦¨¥\"
¡@
999:
If xE1.Row > 4500 Or xE2.Row > 4500 Then MsgBox "°O¿ý¶q¹L¤j¡A½Ð²M²z°O¿ý¡I"
End Sub
¡@
¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×¡×
TextBox2 ªº¡eÄÝ©Ê¡DPasswordChar¡f³]¬° "*"¡A¦r³]¡e¶Â¦â¡f¡A
¿é¤J±K½X®É¡A¦Û°ÊÅã¥Ü¬°¡e****¡f |
|