ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©ó¸ê®Æ¼g¤JÀx¦s®æªº¤è¦¡

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

TOP

        ÀR«ä¦Û¦b : ¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@­Ó®É¨è³£¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD