Private Sub MyNewBtn2_Click()
Dim i%
Dim Get_Item1
With Test_Form3
MsgBox .Item_GetList.ListCount
If .Item_GetList.ListCount <> 0 Then
ReDim Get_Item1(.Item_GetList.ListCount - 1) As String
For i = 0 To .Item_GetList.ListCount - 1
Get_Item1(i) = .Item_GetList.List(i)
MsgBox Get_Item1(i)
Next i
End If
End With
End Sub
我新增了一個 Button 取得了 ListBox 的值,但我要如何讓userform 關閉 且讓
原來的 Sub Auto_Open() 繼續往下跑~?作者: C.F 時間: 2013-1-25 14:20