+ Reply to Thread
Results 1 to 3 of 3

Listbox-a way to fill the list box

  1. #1
    Forum Contributor
    Join Date
    12-09-2006
    Posts
    229

    Listbox-a way to fill the list box

    I have a data in the "A" column and I want this data to fill a list box. the data size is unknown one time could be range from "a2:a30" or sometime from "a2:a120". Is there a way to fill the list box with the data in column A without put changing the code manually see code below.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    05-02-2006
    Posts
    80
    Hi Walid,

    Try the code below. It should automatically find the last cell used in column A so whether you got values in A2:A50 or A2:A3 it should return the right range. It'll need to be tweaked however if you've got anything else in Column A.

    Let me know how it goes,

    Please Login or Register  to view this content.
    Tris

  3. #3
    Forum Contributor
    Join Date
    12-09-2006
    Posts
    229
    thanks it worked.

+ 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