UserForm with Multiple Lists in a Single ListBox Dynamically

Marc1919

New Member
Joined
Jan 13, 2022
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi, I have spent hours and finally got the multiple lists to work dynamically in the ListBox.

But for the oddest reason when i click on an "option" the box moves way over almost out of the form. It still works perfectly but it is visually unappealing.

See the attached screenshot before i select an option and then look at the second screen shot after i select an option.

Does anyone have any clue as to why the box moves when i make a selection?
 

Attachments

  • Capture.PNG
    Capture.PNG
    32.1 KB · Views: 24
  • Capture2.PNG
    Capture2.PNG
    34.6 KB · Views: 20

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Maybe the following will work for you, change the IntegralHeight property of listbox to False.
 
Upvote 0
Oddly enough i just changed the size of the listbox and made it smaller and it stopped doing it.

When the listbox is larger it has that weird error where it moves the box.

Either way, I am fine with a smaller box, i dont know lol
 
Upvote 0
So make your userform bigger so you can have a bigger listbox. 🤔
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top