謝謝各位大大!
Public Sub mList3_Click()
'利用ListBox3取出客戶通關案號及編號
Dim mySql As String
Dim mApp$
With mList3
If s > 1 Then Exit Sub
If .ListIndex = -1 Then
'MsgBox "請先選取指定報單號碼"
Exit Sub
Else
mApp = .Value
MsgBox mApp
End If
End With
End Sub作者: GBKEE 時間: 2014-2-17 13:48