Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default ComboBox Question

I have a question on comboboxes I can't track down, about
multicolumn controls.

Is there a way to set the width separately for each
column? I have one column with a single digit in it, and
one with a very long text string. By default, both
columns are the same width.

thanx

Kevin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default ComboBox Question

Hi Kevin,

In the properties list for your combobox you'll see a property called
ColumnWidths. You can specify the widths of your columns here. There are a
couple of ways to do it, which are described in help, but the easiest thing
to do is just enter a number for each column separated by semicolons. So for
your combobox you might start with something like:

10;90

which VBA will convert to:

10 pt;90 pt

as soon as you hit enter. Just play around with adjusting the numbers until
you get column widths that fit your data.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *


"Kevin" wrote in message
...
I have a question on comboboxes I can't track down, about
multicolumn controls.

Is there a way to set the width separately for each
column? I have one column with a single digit in it, and
one with a very long text string. By default, both
columns are the same width.

thanx

Kevin



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox Question jlclyde Excel Discussion (Misc queries) 2 August 27th 09 09:31 PM
another combobox question teepee Excel Discussion (Misc queries) 2 May 13th 07 01:01 AM
ComboBox Question Duncan Edment Excel Worksheet Functions 1 August 1st 06 12:42 PM
combobox Question Greg B Excel Discussion (Misc queries) 2 September 2nd 05 04:22 PM
ComboBox Question Terry Detrie Excel Programming 2 October 18th 03 02:55 PM


All times are GMT +1. The time now is 04:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"