- ©«¤l
- 192
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 194
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-9-22
- ³Ì«áµn¿ý
- 2020-8-28
|
- Private Sub CommandButton1_Click()
- Dim AA, i As Integer, ii As Integer
- With lstSelector
- For i = 0 To .ListCount - 1
- If .Selected(i) Then
- If IsEmpty(AA) Then ReDim AA(1 To 4, 1 To 1) Else ReDim Preserve AA(1 To 4, 1 To UBound(AA, 2) + 1)
- For ii = 1 To 4
- AA(ii, UBound(AA, 2)) = .List(i, ii - 1)
- Next
- End If
- Next
- End With
- If IsEmpty(AA) Then
- MsgBox "§A¨S¦³¿ï¨ú¸ê®Æ"
- ElseIf UBound(AA, 2) > 4 Then
- MsgBox "§A¿ï¨ú ¶W¹L 4 µ§ ¸ê®Æ"
- Else
- If MsgBox("¦@ ¿ï¨ú " & UBound(AA, 2) & " µ§¸ê®Æ" & vbLf & "½T©w¿é¤J", vbYesNo) = vbYes Then
- With Sheets("TR±Æ¾÷&²£¥X").Sh_Rng.Offset(1)
- .Resize(4, 4) = ""
- .Resize(UBound(AA, 1), UBound(AA)) = Application.Transpose(AA)
- End With
- End If
- End If
- End Sub
½Æ»s¥N½X ¦^´_ 74# GBKEE
µ²ªG´«¶K¤W³oÃä¦h©¹¥kÃä²¾¤@®æ¤F...
|
|