evans_matthew
New Member
- Joined
- Sep 7, 2017
- Messages
- 3
This is my first time working with Userforms. I am trying to create a userform with a listbox where I can select multiple items in a list, and then submit them to generate a string including those results.
1. I have the listbox doing what I want it to do but I want it to dynamically adjust its size depending on the number of items and I can't seem to make it do that. I've attempted to adjust the height property by a multiplier on the item count but no success. It just stays the static size it was when I created it and puts a scroll bar when its too small to show all the items. How do I work around this?
2. I added a commandbutton to the same userform to act as my submit button but the command button will not show up. It doesn't seem to matter where I put it. I have attempted to force visible=true using VBA to no avail. I have moved it to all various places on the form.
Does anyone have any ideas I could try on these two items?
Thank you
1. I have the listbox doing what I want it to do but I want it to dynamically adjust its size depending on the number of items and I can't seem to make it do that. I've attempted to adjust the height property by a multiplier on the item count but no success. It just stays the static size it was when I created it and puts a scroll bar when its too small to show all the items. How do I work around this?
2. I added a commandbutton to the same userform to act as my submit button but the command button will not show up. It doesn't seem to matter where I put it. I have attempted to force visible=true using VBA to no avail. I have moved it to all various places on the form.
Does anyone have any ideas I could try on these two items?
Thank you