Consulting

Results 1 to 2 of 2

Thread: Listbox questions

  1. #1
    VBAX Regular
    Joined
    Jul 2007
    Posts
    78
    Location

    Listbox questions

    I am presently learning about creating userform with listboxes. There are a few questions I hope to find answer for.

    1. If the listbox has 2 columns can it be displayed with gridlines?
    2. How to create header row and to show the texts for the header.
    3. Is it possible to text wrap in the listbox


    Appreciate any insight to these questions

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    1 Don't think so, not with a Listbox

    2 You have to bind the Listbox to workbook cells with hedaers in those cells, set the columnheaders property to true, but don't include the headers in the bound range

    3 Don't think so
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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