Results 1 to 13 of 13

Thread: Lookup using a list box

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,321
    Location

    I think I got it...

    After thinking about the problem, I finally realized that I needed the listbox to make the selection for me on click.....

    added this code and it works.


    Private Sub lstSelection_Click()
    Range("SelectionLink") = lstSelection.ListIndex + 1
    End Sub

    attached working ver. only first 9 artists-albums have tracks added, the rest return a 0 until I get the rest of the data added...

    thanks for your feedback Jacob
    Last edited by Aussiebear; 04-29-2023 at 07:22 PM. Reason: Adjusted the code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •