ListBox Text Spacing (Column Spacing)?

razzandy

Active Member
Joined
Jun 26, 2002
Messages
388
Office Version
  1. 2007
Platform
  1. Windows
When ever I use a listbox or combo box linked to a table on a worksheet, lets say with 3 columns I can never get the spacing even! I change the column count to 3 and the Column Spacing to what ever suits but I notice the 1st two columns are positioned quite close, but the rest are bigger. I’ve even tried altering the listbox/comboBox sixes. Does anybody have an easy solution for this?? :(

Thanks in advance

Cheers

Ryan UK :)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Steve Jukes

Board Regular
Joined
Apr 15, 2002
Messages
83
razzandy

What I do is look at the listbox properties and find out its width and then set the columnwidths section in the properties to whatever figure is the width divided by the number of columns.

EG
Columncount 3
width 75
therefore columnwidths 25;25;25

Hope this helps

Steve
 

razzandy

Active Member
Joined
Jun 26, 2002
Messages
388
Office Version
  1. 2007
Platform
  1. Windows
Cheers Steve :wink:

I did'nt know you had to enter the column width value for each column! ;(

Thanks :)

Ryan UK :wink:
 

Forum statistics

Threads
1,147,621
Messages
5,742,193
Members
423,710
Latest member
Duarte85

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