- ©«¤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
|
¦^´_ 1# Jared
¸Õ¸Õ¬Ý- Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
- With Sheet10
- Set A = .Columns("A").Find(TextBox1.Text, lookat:=xlWhole) 'A«üªº¬OÅܼÆ
- ' If Not A Is Nothing Then
- '¦p§ä¤£¨ì A(ª«¥ó) = Nothing-> A.Offset(, 1) ´N¦³¿ù»~ '
- TextBox2.Text = A.Offset(, 1)
- TextBox3.Text = A.Offset(, 2)
- 'End If
- End With
- End Sub
- Private Sub CommandButton1_Click()
- Dim A As Range ' ³o¸Ì³]¬° CommandButton1_Click ªº¨p¥ÎÅܼÆ(¼Ò²Õ¤¤ªº¨ä¥Lµ{§Ç¤£¥i¨Ï¥Î)
- '¶·¬O¦b¦¹µ{¦¡¼Ò²Õ³Ì³»ºÝ Dim A As Range ³]¬°¦¹µ{¦¡¼Ò²Õ¨p¥ÎÅܼÆ(¶È¨Ñ¦¹µ{¦¡¼Ò²Õ¤¤ªºµ{§Ç¨Ï¥Î)
- a1 = test2.TextBox2.Value
- a2 = test2.TextBox3.Value
- '³oµ{§Ç¤¤¨S SET = ???? -> A.Offset(, 2) ´N¦³¿ù»~ '
- If a1 & a2 > 1 Then a1 = A.Offset(, 1) & a2 = A.Offset(, 2): Exit Sub
- End Sub
½Æ»s¥N½X |
|