Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Needless Horizontal scrollbar in Listbox

What determines the presence of a Horizontal scrollbar on a Listbox? I would
think it would be dependent on the width of the longest string you put in.
But, it doesn't appear that way. The longest string I put in is one
character long with a font size of 9. The width of the listbox has to be
jacked all the way up to 80 to get rid of the scrollbar.

I'm running with Excel 2003.
Any ideas?

thanks,
ken


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Needless Horizontal scrollbar in Listbox

Look at the columnwidth property. Make it less than the width of the
listbox.

--
Regards,
Tom Ogilvy


"Ken Soenen" wrote in message
...
What determines the presence of a Horizontal scrollbar on a Listbox? I

would
think it would be dependent on the width of the longest string you put in.
But, it doesn't appear that way. The longest string I put in is one
character long with a font size of 9. The width of the listbox has to be
jacked all the way up to 80 to get rid of the scrollbar.

I'm running with Excel 2003.
Any ideas?

thanks,
ken




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Needless Horizontal scrollbar in Listbox

Thanks Tom. That did it.
ken

"Tom Ogilvy" wrote in message
...
Look at the columnwidth property. Make it less than the width of the
listbox.

--
Regards,
Tom Ogilvy


"Ken Soenen" wrote in message
...
What determines the presence of a Horizontal scrollbar on a Listbox? I

would
think it would be dependent on the width of the longest string you put
in.
But, it doesn't appear that way. The longest string I put in is one
character long with a font size of 9. The width of the listbox has to be
jacked all the way up to 80 to get rid of the scrollbar.

I'm running with Excel 2003.
Any ideas?

thanks,
ken






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
Troubleshoot horizontal scrollbar LinDee Excel Worksheet Functions 1 September 11th 06 06:27 PM
Horizontal Scrollbar tikchye_oldLearner57 New Users to Excel 2 March 27th 06 06:42 PM
remove horizontal scrollbar combobox RB Smissaert Excel Programming 3 February 4th 06 08:23 PM
Horizontal Scrollbar For Lisbox Justin Starnes[_2_] Excel Programming 5 October 20th 04 11:26 AM
Horizontal scrollbar in ListBox Anirban Excel Programming 2 October 14th 04 02:05 PM


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