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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,223,943
Messages
6,175,547
Members
452,652
Latest member
eduedu

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