Userform Checkbox inside a Listbox and is in turn inside a Page

MikeKhael

New Member
Joined
Jul 20, 2024
Messages
4
Office Version
  1. 2019
Platform
  1. Windows
Good day! I am fairly new to userforms (though I was able to follow some of the instructions here when I create macros and VBA), and I am curious if it is possible to create a userform with Pages and in each page there is a Listbox that has multiple Checkboxes (around 5 to 15), and has a textbox at the bottom whilst outside of the Pages section, but still within a userform? I tried to manually design or create it and it works, but I wonder how the codes would go as far as making each checkbox independent with one another, but every time a checkbox is checked it copies the value of that checkbox to the Textbox,and conversely if it is unchecked it removes the value of that checkbox from the textbox.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You said:
Quote:
"List box that has multiple Checkboxes (around 5 to 15)

Do you mean 5 to 10 values in the list box.

A checkbox is only True or False
 
Upvote 0
You said:
Quote:
"List box that has multiple Checkboxes (around 5 to 15)

Do you mean 5 to 10 values in the list box.

A checkbox is only True or False
Hello, Yes, I mean a listbox or a combobox I dont know how it is called. And it can hold multiple checkboxes, like 5 to 10 checkboxes.
 
Upvote 0
You again said:
Quote:
"it can hold multiple checkboxes, like 5 to 10 checkboxes

A list Box cannot hold Checkboxes.
 
Upvote 0
So now I have been told a Listbox can have check boxes.
I will continue to monitor this thread to see what I can learn.
I'm not able to help you but I'm sure someone else here may be able to help you.
 
Upvote 0
You again said:
Quote:
"it can hold multiple checkboxes, like 5 to 10 checkboxes

A list Box cannot hold Checkboxes.
If the ListStyle is Extended it will be able to show the list in the form of Checkboxes. I was able to read somewhere in this forum that checkboxes is possible in the listbox. Though my question is, will it be possible to hold more than 5 checkboxes?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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