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

Hi,

I have a 3 column list box. Columns 1 and 2 are very small, 3 or 5
characters only. The 3 column is much longer. Is there a way I can adjust
the first two columns so I don't have all this dead space?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default list box column widths

You can set the column widths in the properties window in the VBE editor in
design mode.

From the VBA help file:

Unless specified otherwise, column widths are measured in points. To specify
another unit of measure, include the units as part of the values. The
following examples specify column widths in several units of measure and
describe how the various settings would fit in a three-column list box that
is 4 inches wide.

Setting
90;72;90
Effect
The first column is 90 points (1.25 inch); the second column is 72 points (1
inch); the third column is 90 points.


"Karen53" wrote:

Hi,

I have a 3 column list box. Columns 1 and 2 are very small, 3 or 5
characters only. The 3 column is much longer. Is there a way I can adjust
the first two columns so I don't have all this dead space?

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 333
Default list box column widths

Thank you. I tried that but I don't think I had the correct formatting.
I'll try again.

"JLGWhiz" wrote:

You can set the column widths in the properties window in the VBE editor in
design mode.

From the VBA help file:

Unless specified otherwise, column widths are measured in points. To specify
another unit of measure, include the units as part of the values. The
following examples specify column widths in several units of measure and
describe how the various settings would fit in a three-column list box that
is 4 inches wide.

Setting
90;72;90
Effect
The first column is 90 points (1.25 inch); the second column is 72 points (1
inch); the third column is 90 points.


"Karen53" wrote:

Hi,

I have a 3 column list box. Columns 1 and 2 are very small, 3 or 5
characters only. The 3 column is much longer. Is there a way I can adjust
the first two columns so I don't have all this dead space?

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
Column Widths Patty H CPA Excel Discussion (Misc queries) 2 November 2nd 07 06:57 PM
Can I have different column widths below each other Dizzy Des New Users to Excel 3 February 8th 07 12:52 PM
Column Widths Pricklyflower Excel Discussion (Misc queries) 4 March 1st 06 09:48 PM
Different column widths Holyhabanero Excel Worksheet Functions 2 January 18th 06 06:17 PM


All times are GMT +1. The time now is 12:25 AM.

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"