Private Sub cmdGetQuote_Click() frmSelectQuote.Show End Sub
Private Sub cmdOK_Click() On Error GoTo ErrHandler Dim lngItem As Long Dim I As Long Dim msg As String If ListBox1.ListIndex <> -1 Then For I = 0 To ListBox1.ColumnCount - 1 msg = msg & ListBox1.Column(I) & vbCrLf Next I End If For lngItem = 0 To ListBox1.ListCount - 1 If ListBox1.Selected(lngItem) Then With Sheets("Sheet1") '< qualify sheet here .Range("B2").Value = ListBox1.List(lngItem, 0) End With End If Next lngItem Unload Me ExitHandler: Unload Me Exit Sub ErrHandler: MsgBox "Error: " & Err.Number & " " & Err.Description & " :ListBox1_DblClick" GoTo ExitHandler Resume End Sub
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE