+ Reply to Thread
Results 1 to 7 of 7

Userforms + Listboxes

  1. #1
    Registered User
    Join Date
    01-26-2006
    Posts
    3

    Userforms + Listboxes

    I'm developing a system in Excel for a fictational computer store. Most of its work is being done from a userform in list boxes which should hold certain things (parts, software etc. See screenshot below). I have three sub tasks which need to be solved.

    1) How do I actually populate the listboxes? The data I need is held on the 4th Sheet marked "Staff Only"
    2) After populating the listboxes, the userform should place selections on a within a certain range on the 2nd Sheet "Invoice"
    3) After selections are placed onto Sheet2, the prices should be displayed next to the selection which requires gathering data from Sheet4. Which formula should be used?

    I'd greatly appreciate all help possible.



    [img=http://img460.imageshack.us/img460/1844/user22cm.th.jpg]

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello SKnudson

    The screen shots are difficult to read. Could you post a Zip version of the workbook instead? If I can see it better then I sure I can answer your questions.

    Thanks,
    Leith Ross

  3. #3
    Registered User
    Join Date
    01-26-2006
    Posts
    3
    Hi Leith Ross,
    Thank you very much for your prompt reply.

    An uploaded copy of the workbook is available at http://s39.yousendit.com/d.aspx?id=1...N2SQ7UAJKWMI68

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello SKnudson,

    I downloaded the file no problem. Thank you. I will look this over and let know you what I have done.

    Sincerely,
    Leith Ross

  5. #5
    Bob Phillips
    Guest

    Re: Userforms + Listboxes

    A file is at http://cjoint.com/?bBba1KUeNc

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "sknudson" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi Leith Ross,
    > Thank you very much for your prompt reply.
    >
    > An uploaded copy of the workbook is available at
    > http://s39.yousendit.com/d.aspx?id=1...N2SQ7UAJKWMI68
    >
    >
    > --
    > sknudson
    > ------------------------------------------------------------------------
    > sknudson's Profile:

    http://www.excelforum.com/member.php...o&userid=30874
    > View this thread: http://www.excelforum.com/showthread...hreadid=505523
    >






  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello SKnudson,

    I coded 3 macros into your workbook. The macro GetProductGroups reads through the database on "Staff Only". This collects the product descriptions and prices for a group of products like "Processors". If you add any new groups, make sure the group name is in "Blue" font (ColorIndex 5) and the last entry is a blank line.

    The LoadProducts macro places the product descriptions and prices into 2 columns of the ComboBox using the group name. The Click event of each ComboBox calls another macro that places the product in the cell you specifiy with the price in the cell to right of the description. Currently I have set the first cell at "A10".

    This should allow you plenty of flexiblility as your database grows. If you have questions you can contact me via email [email protected].

    Sincerely,
    Leith Ross
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-26-2006
    Posts
    3
    Many, many thanks for both of your solutions. They work perfectly.

+ 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