Vertical Scroll bar

azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,294
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
I can't work out to introduce a vertical scroll bar on a combo box on an input form?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
The default number of rows to display in a combobox is 8 (Listrows property), any number of items above 8 should introduce the vertical scroll bar automatically. You can also reduce "Listrows" if you so wish
 
Upvote 0

azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,294
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
I have set the ListRows to 70 but the scroll bars still don't appear?
 
Upvote 0

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Maybe you didn't quite get me

If listrows=8, and number of items in the combobox is greater than 8, a scrollbar introduced. If you set ListRows as 70, until the number of items in the combobox exceeds 70, you are unlikely to see a scroll bar
 
Upvote 0

azizrasul

Well-known Member
Joined
Jul 7, 2003
Messages
1,294
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Ah OK I understand now. It worked. Many thanks.
 
Upvote 0

Forum statistics

Threads
1,191,025
Messages
5,984,202
Members
439,877
Latest member
kellylet

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
Top