+ Reply to Thread
Results 1 to 5 of 5

List box add item of a range Horizontaly not vertically

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    List box add item of a range Horizontaly not vertically

    hi,
    in listbox
    when items goes more then the Size of listbox we get a scroll bar to down or up to see the added items

    i want to add item Horizontaly
    i mean i want to scroll listbox Horizontaly not vertically

    thank you
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: List box add item of a range Horizontaly not vertically

    If you only have one column and it's too narrow, you can increase the columnwidths property. If you have more than one column the listbox should provide a scrollbar automatically unless you turned it off.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: List box add item of a range Horizontaly not vertically

    yes i have only column in my listbox

  4. #4
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: List box add item of a range Horizontaly not vertically

    like this
    2nd imaga when i add more data it create a scroll bar
    2.JPG
    3 i want like this when i add more data then size of listbox

    1..JPG
    Attached Images Attached Images

  5. #5
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: List box add item of a range Horizontaly not vertically

    Then you'll need to figure out how many rows your listbox can fit based on its Font size, add columns as necessary, then populate it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sheet Range Object Item List Reorder
    By Doc.AElstein in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 08-07-2015, 09:50 AM
  2. Replies: 1
    Last Post: 08-22-2014, 12:27 AM
  3. UserForm: Search Item in List > Call Table associated with Item > Execute Command
    By TexasAggie12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2014, 12:58 PM
  4. Replies: 5
    Last Post: 11-13-2012, 12:37 PM
  5. Replies: 0
    Last Post: 09-05-2012, 10:11 AM
  6. Taking the next item in a list into 1 of 2 tables based on the previous item time
    By SoleAris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2011, 04:59 PM
  7. linking a list item or text item in a user form to a worksheet
    By ravergirl7216 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-03-2010, 03:43 AM

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