Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

list box column widths

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karen53 - 18 Sep 2007 02:30 GMT
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,
JLGWhiz - 18 Sep 2007 03:26 GMT
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.

> Hi,
>
[quoted text clipped - 3 lines]
>
> Thanks,
Karen53 - 18 Sep 2007 03:40 GMT
Thank you.  I tried that but I don't think I had the correct formatting.  
I'll try again.

> You can set the column widths in the properties window in the VBE editor in
> design mode.
[quoted text clipped - 20 lines]
> >
> > Thanks,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.