- ©«¤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
        
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-12-30 08:04 ½s¿è
¦^´_ 1# prince120101 - Private Sub ListBox2_Click()
- Dim opop As Range, jjo As Long
- Sheets(ListBox1.Value).Activate
- jjo = ListBox2.Value
- Set opop = Workbooks("TEST.xlsm").Worksheets(ListBox1.Value).Columns("d").Cells.Find(What:=jjo, SearchDirection:=xlNext)
- With ListBox3
- .Clear '²M°£ ±±¨î¶µ(²M³æ¤è¶ô©Î¤U©Ô¦¡²M³æ¤è¶ô)ªº¤º®e
- If opop Is Nothing Then
- MsgBox "§ä¤£¨ì¡I"
- ElseIf Not opop Is Nothing Then
- i = 0
- Do While opop.Offset(i) Like jjo & "*" '©¹¤U²Å¦X jjo* ªº¦r¦ê
- .AddItem '²M³æ¤è¶ô¤¤¥[¤J¤@Ó¶µ¥Ø
- .List(.ListCount - 1, 0) = opop.Offset(i)
- i = i + 1
- Loop
- '³æ¿W¤@ÓÀx¦s®æµLªk«ü©w¨ì±±¨î¶µªºList
- 'ListBox3.List = opop.Resize(2).Value '///¥i¥H¸Õ¸Õ¬Ý///
- '¥i¥H«ü©w¨ì±±¨î¶µªº .Value
- ListBox3.Value = opop.Value
- End If
- End With
- End Sub
½Æ»s¥N½X |
|