Excel VBA Grab All Sheet Names Into Listbox, Grab Headers Into Listbox, Userform Fun

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 23

  • @stevew4642
    @stevew4642 4 роки тому

    Dan, this is great! What code would you use to then select the cell for which was selected in the header box? How about also in a range?

  • @АртЛун
    @АртЛун 7 років тому +1

    Hi, works fine, but I suggest everytime to add in ListBox if we don't have info on sheet, othervise user can think it's not working.
    e.g.:
    If Sheets(mySh).Cells(1, 1) = "" And Sheets(mySh).Cells(1, 2) = "" Then
    Me.ListBox2.AddItem ""
    Else
    ....
    End if

  • @xarakkhan1727
    @xarakkhan1727 5 років тому +1

    how to show sheet data on listbox horizantaly

  • @valerievestal9444
    @valerievestal9444 7 років тому +1

    I have been working on a similar user form this week and this really helps!! Thanks for your videos!!

  • @jeffb2161
    @jeffb2161 7 років тому +1

    Dan great video! I have a similar userform and I am trying to use a textbox to search the sheet names in the listbox. I am finding it difficult to code the textbox change event to dynamically update the listbox as I enter each character in the text box. Can you help?

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  7 років тому

      Hi Jeff,
      Can you show us the code that's giving you trouble?
      Thanks
      Dan

  • @aligateshekar6871
    @aligateshekar6871 6 років тому

    Hi, the list box click event is not working if the list box multiselect option under properties is selected as 1-frmmultiselectmulti

  • @eCabinetstipsandtricks
    @eCabinetstipsandtricks 7 років тому

    Thanks, Dan. I have always struggled with list boxes. This really helps.

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  7 років тому

      Awesome eCabinets! so glad it helps, my friend!

  • @excelisfun
    @excelisfun 7 років тому +1

    Thanks for the vid!!!

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  7 років тому

      Thanks ExcelIsFun!

    • @xarakkhan1727
      @xarakkhan1727 5 років тому

      @@ExcelVbaIsFun why sheet data is showimg only in one line

  • @govindkumarsodani3290
    @govindkumarsodani3290 2 роки тому

    Usefull..

  • @TheBandit94
    @TheBandit94 7 років тому +1

    Nice! Thanks this will help me!

    • @ExcelVbaIsFun
      @ExcelVbaIsFun  7 років тому

      Awesome! So glad it will help, TheBandit94!

  • @krn14242
    @krn14242 7 років тому

    Great job Daniel. Thanks

  • @zaidthunder1
    @zaidthunder1 7 років тому

    Useful stuff!

  • @thomasfergusen5144
    @thomasfergusen5144 4 роки тому

    great!

  • @valigeorge9110
    @valigeorge9110 6 років тому

    Thx, man!