+ Reply to Thread
Results 1 to 5 of 5

listbox populating on userform

  1. #1
    Registered User
    Join Date
    03-21-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    22

    listbox populating on userform

    Hello Everyone,

    I have a problem with listbox on userform. i placed a listbox on userform and want to populate the listbox with different ranges and finally want to reference all the ranges in the listbox to one named range. for example listbox has a listindex of revenue(b8:f8) cost(b9:f9) and i want to mention revenue and cost as Range2 for chart range source. I tried to add items in the listbox by additems, rowsource but it is not populating any of these in the listbox when the listbox is displayed on the form in the frontend. Please help me.

    by different range I mean that i want to populate revenue, cost, total in the listbox, now these revenue, cost and total is on the sheet1 as b8, b9,b10 and have revenue has range of (b8:f8), cost has range of (b9:f9), total has range of (b10:f10)

    Karan
    Attached Files Attached Files
    Last edited by kmsoni; 09-23-2011 at 12:24 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: listbox populating on userform

    It's not clear what you are doing. What do you mean by using different ranges?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-23-2011
    Location
    Seattle WA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    5

    Re: listbox populating on userform

    If you can, post some of your code that adds data to the list box and we'll see if we can help out.

    Marcus

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: listbox populating on userform

    Don't answer in the original post

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: listbox populating on userform

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

+ 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