Consulting

Results 1 to 9 of 9

Thread: vba searchble dropdown

  1. #1
    Banned VBAX Contributor
    Joined
    Aug 2017
    Posts
    144
    Location

    vba searchble dropdown

    Hi Team,

    Looking dynamic userform which search partial text.

    Below is attached file, code is written in Class module,

    is there any alternate code available like this.





    Thanks
    mg
    Attached Files Attached Files

  2. #2

  3. #3
    Banned VBAX Contributor
    Joined
    Aug 2017
    Posts
    144
    Location
    Hi Team,

    in attached excel Macro it contains forms,

    I want msgbox / or into variable what value user has selected from listbox. only single value.

    Huge code Unable to find it.



    Thanks
    mg

  4. #4
    VBAX Mentor
    Joined
    Nov 2020
    Location
    Cochin, Kerala
    Posts
    314
    Location
    Check this out
    I got this code from Paul_Hossler from his response in one of the other thread. I just tweaked a little bit here
    Attached Files Attached Files

  5. #5
    sorry i cannot attached here.
    when you open the workbook, on Home tab (far right, there is a button for the movies).
    https://www.dropbox.com/scl/fi/2ck67...bk3pbr581l74zu

  6. #6
    VBAX Mentor
    Joined
    Nov 2020
    Location
    Cochin, Kerala
    Posts
    314
    Location
    Hi,
    Can you tell me how did you add the icon in ribbon?

  7. #7
    you can google it "customize excel ribbon" or "add custom icon in ribbon".
    there are many tutorials.

    i used Office RibbonX Editor.

  8. #8
    VBAX Mentor
    Joined
    Nov 2020
    Location
    Cochin, Kerala
    Posts
    314
    Location
    thank you!
    got it

    HTML Code:
      <ribbon>    <tabs>
          <tab idMso="TabHome" >        <group id="customGroup1" label="Movie List" insertAfterMso="GroupEditingExcel" >          <button id="customButton1" label="Search Movie" size="large" onAction="ufm" image="Videos-icon" />        </group>      </tab>
        </tabs>  </ribbon>
    </customUI>
    Last edited by anish.ms; 08-19-2021 at 10:43 AM.

  9. #9
    Banned VBAX Contributor
    Joined
    Aug 2017
    Posts
    144
    Location
    Hi Team,

    I resolved my query using sql query, filled listbox from recordset. You can close this ticket. thanks.


    Thanks
    mg

Posting Permissions

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