+ Reply to Thread
Results 1 to 3 of 3

Needless Horizontal scrollbar in Listbox

  1. #1
    Ken Soenen
    Guest

    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. #2
    Tom Ogilvy
    Guest

    Re: Needless Horizontal scrollbar in Listbox

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

    --
    Regards,
    Tom Ogilvy


    "Ken Soenen" <[email protected]> wrote in message
    news:[email protected]...
    > 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. #3
    Ken Soenen
    Guest

    Re: Needless Horizontal scrollbar in Listbox

    Thanks Tom. That did it.
    ken

    "Tom Ogilvy" <[email protected]> wrote in message
    news:[email protected]...
    > Look at the columnwidth property. Make it less than the width of the
    > listbox.
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "Ken Soenen" <[email protected]> wrote in message
    > news:[email protected]...
    >> 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1