- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 162
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-7-6
               
|
¦^´_ 1# syuan
if±Ôz¨S³]©w¨ìjp
§ï¦¨- Private Sub ListBox3_Click()
- UserForm2.ListBox1.Clear
- Set TA = Sheets("sheet1").Range("a2:b6")'³]¸mÅܼÆTA
- Set JP = Sheets("sheet1").Range("A10:B14")'³]¸mÅܼÆJP
- If UserForm1.ListBox1.ListIndex = 0 And UserForm1.ListBox2.ListIndex = 0 And UserForm1.ListBox3.ListIndex = 0 Then
- With UserForm2.ListBox1
- .ColumnCount = TA.Columns.Count
- .ColumnWidths = "100"
- .List = TA.Value
- End With
- UserForm2.Show
- '----------------------------------------------------
- ElseIf UserForm1.ListBox1.ListIndex = 1 And UserForm1.ListBox2.ListIndex = 0 And UserForm1.ListBox3.ListIndex = 0 Then
- UserForm2.ListBox1.Clear
- With UserForm2.ListBox1
- .ColumnCount = JP.Columns.Count
- .ColumnWidths = "100"
- .List = JP.Value
- End With
- UserForm2.Show
- Else
- MsgBox "§ä¤£¨ìÀÉ®×"
- End If
- End Sub
½Æ»s¥N½X |
|