+ Reply to Thread
Results 1 to 9 of 9

UserForm & ListBox Problem

  1. #1
    Registered User
    Join Date
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    UserForm & ListBox Problem

    Dear Masters of Excel,

    Please see attached file.
    I am making planning & status board for each project(yard). But in my 1st Stage I am having a problem for creation of Userform & List Box for my Display Sheet.

    Problem-1) I want to create userform which can Add or Delete my MasterData.

    Problem-2) I want to display & change Block Status of Yard in List View. Yard No will be selected using combo box.
    List View Should allow addition & Deletion of record.

    Note: I am a bit new user for VBA but can copy codes from sample file to use in the files.

    Any help on this will do a great help for my project

    Thanks in advance.

    Vishnu
    Attached Files Attached Files
    Last edited by hifliers; 05-15-2009 at 03:49 AM.

  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: UserForm & ListBox Problem

    Your master data is split into 3 blocks by the empty columns, is there a reason for this?

    What do you mean by List view?
    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
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: UserForm & ListBox Problem

    Dear Roy,

    Thanks for your quick reply..

    It's a three table.. It can be separated into three different Sheet.

    List View is List Box..

    Regards,

    Vishnu

  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: UserForm & ListBox Problem

    So do you want a listbox for each table?

  5. #5
    Registered User
    Join Date
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: UserForm & ListBox Problem

    can you give two sample files.

    1) Userform to add,modify or delete Data.
    2) Listbox dependent on Value seleted on dropdoen box.

    Regards,

    Vishnu

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

    Re: UserForm & ListBox Problem

    1) Userform to add,modify or delete Data.

    DataBaseFormAmended.zip

    2) Listbox dependent on Value seleted on dropdoen box.

    DependantlistBoxes.zip

  7. #7
    Registered User
    Join Date
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: UserForm & ListBox Problem

    Dear Roy,

    Thanks.. Your Example File Data Entry is just what I wanted.

    For List Box I have a Data Like That

    Clm A ClmB Clm C Clm D
    Vishnu 25 26 56
    Roy 51 57 59
    Vishnu 00 02 10
    Roy 25 35 41

    Now I will Put Combobox Above my listBox. & I will Select Roy to see Only values related to roy in ListBox.

    Please send me example like that.

    Regards,
    Vishnu

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

    Re: UserForm & ListBox Problem

    Have a loo at this

    Filter-ListBox.zip

  9. #9
    Registered User
    Join Date
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: UserForm & ListBox Problem

    Dear Roy,

    Thanks A Lot for your Sample File.

    Based on Your Sample File I Have made a form. please check attached file.
    Now I want to add a command Button which will add,modify or Delete entry in listbox1.

    Please suggest procedure or send a sample file

    Regards,

    Vishnu
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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