Results 1 to 9 of 9

Populating selected range to listbox

Threaded View

  1. #1
    Registered User
    Join Date
    06-28-2015
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    2010
    Posts
    40

    Populating selected range to listbox

    Hi,

    I tried to populate selected range from worksheet to listbox.
    But notice that the whole thing gone wrong....

    Private Sub CommandButton1_Click()
    ListBox1.Value = Worksheets("Sheet1").Range("C:D;H:J;L;U:X;AI;AL:AM")
    End Sub

    I would like to have only the red range to be in the list box.


    can some one help me with this?

    really appreciate your help.

    regards
    VJ
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Populating Listbox based on Date Range
    By McGuire1986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2015, 09:47 AM
  2. Populating Userform Listbox with Dynamic Range
    By VBAerthang in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2013, 05:13 AM
  3. [SOLVED] Populating an array with selected ListBox items
    By wz4np1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2012, 07:52 AM
  4. [SOLVED] Populating a Worksheet with values selected from a Dynamic Listbox
    By hornbyOO in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2012, 04:35 PM
  5. Populating a Range of Cells from a ListBox Selection
    By cmaitlen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2012, 07:06 PM
  6. listbox populating on userform with named range
    By kmsoni in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2011, 01:37 PM
  7. Populating a listbox from range xl2003
    By Ramthebuffs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-03-2005, 10:38 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