#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default List Boxes

Does anyone know of a way of setting a listbox to allow the user to manually
adjust the column widths, or better yet anyway for the listbox to autosize
dependant on field lengths or even perform a word wrap?

Any help would be greatly appreciated,
Murf.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default List Boxes

You can't wordwrap a listbox. You could loop through the list and count the
number of characters, then have your code adjust the list of the listbox.
this would be an approximation at best. Other than that you can use the
horizontal scrollbar by making the width of the box less than the width of
the column.

--
Regards,
Tom Ogilvy


"Murf" wrote:

Does anyone know of a way of setting a listbox to allow the user to manually
adjust the column widths, or better yet anyway for the listbox to autosize
dependant on field lengths or even perform a word wrap?

Any help would be greatly appreciated,
Murf.

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
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM
list boxes hdodson Excel Programming 3 December 2nd 04 11:30 PM
List boxes/combo boxes Tibow Excel Programming 3 February 17th 04 12:35 PM
List Boxes (Help!) Haas[_2_] Excel Programming 2 November 26th 03 10:54 PM


All times are GMT +1. The time now is 11:14 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"