ListBox Text Spacing (Column Spacing)?

razzandy

Active Member
Joined
Jun 26, 2002
Messages
390
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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
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
 
Upvote 0
Cheers Steve :wink:

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

Thanks :)

Ryan UK :wink:
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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