Consulting

Results 1 to 4 of 4

Thread: Drop-down list increase viewable items without scrolling

  1. #1
    VBAX Newbie
    Joined
    Jun 2017
    Posts
    2
    Location

    Drop-down list increase viewable items without scrolling

    I'm working with an older version of Excel, 2003. I've created some drop-down lists. I know how to add or remove items from the lists. What I want to do, though, is to extend
    the number of items that are seen when opening the list from within the cell. Right now, the default seems to be only 8 items. To see the rest, you must use the scroll bar which becomes a hassle if you have to do it often enough. Some of my lists I would want to have show 10 items. Some 15. Without scrolling. Anyone know how to do this? Probably everyone.

    Thanks, Jack

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    Determine the height On Points of a single entry + vertical White Space
    Const SEHeight  As Long = ???
    
    'Add Entries, then
    ListBox1.Height = (ListBox1.ListCount * SEHeight) + FudgeFactor ' I dunno FF value. Experiment
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    VBAX Expert
    Joined
    Sep 2016
    Posts
    788
    Location
    Your drop-down list is Data Validation?

  4. #4
    VBAX Expert
    Joined
    Aug 2004
    Posts
    810
    Location
    When you say "Drop down list", I am assuming a Combobox

    Me.ComboBox1.ListRows = 20

Posting Permissions

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