Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Combo box column widths

If I have a combo box, do all of the column widths have to
be the same size? I want to use a combo box in my macro
that has 6 columns but I haven't been able to adjust the
size of each column. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Combo box column widths

Use the ColumnWidths property. Its a string, where each column is delimited
by a semicolon ( ; ). Like this

100; 50; 20

if you leave a column empty, Excel will resize it automatically, like

; 50; 20

and if you set a column to 0, it will be invisible.

--
Regards

Juan Pablo González

"JT" wrote in message
...
If I have a combo box, do all of the column widths have to
be the same size? I want to use a combo box in my macro
that has 6 columns but I haven't been able to adjust the
size of each column. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Combo box column widths

Look at help on the ColumnWidths property for a combobox . It allows you to
set individual widths.

--
Regards,
Tom Ogilvy



"JT" wrote in message
...
If I have a combo box, do all of the column widths have to
be the same size? I want to use a combo box in my macro
that has 6 columns but I haven't been able to adjust the
size of each column. Thanks.



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
Different widths for each column in a 100% stacked column chart Chart Explorer Charts and Charting in Excel 1 May 21st 09 09:19 AM
Different column widths? NorCalHomeFinance Setting up and Configuration of Excel 2 August 9th 08 09:16 PM
Column Widths Kooky Excel Discussion (Misc queries) 2 June 3rd 07 11:39 AM
Different column widths Holyhabanero Excel Worksheet Functions 2 January 18th 06 06:17 PM
One column with different widths Calpitor New Users to Excel 1 October 14th 05 07:57 AM


All times are GMT +1. The time now is 03:15 AM.

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

About Us

"It's about Microsoft Excel"