+ Reply to Thread
Results 1 to 7 of 7

Help required in user form

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40

    Help required in user form

    Hi,

    I have a excel workbook containing three sheets. The details of which are as follows.
    Main --> Contains the button to open the user form.

    Sheet1 --> Contains the Module Name in row 1 and their corresponding responsibilities in subsequent columns.

    Sheet2--> Contains the User Name in first row of the column and the corresponding responsibilities assigned to the user.

    The issue is that I have created a user form in which as soon as I enter the User Name in the text box the system should find all the responsibilities assigned to the user and list them in the combo box next to it and When I select a particular responsibility pertaining to the user the system should check the corresponding Module from the Sheet1 and show it in the next text box.

    I am pretty new to Excel programming , I would really be obliged if someone can help me with this.

    I am attaching the .xls file for your reference.

    With regards
    Attached Files Attached Files
    Last edited by VBA Noob; 01-28-2009 at 09:50 AM. Reason: uploading the file

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Get info for UserForm TextBox

    Your vocabulary is confusing, but maybe this will help
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40

    Re: Help required in user form

    sorry thats not what is required. I will rephrase it what I want..

    In the user form there is a text box where I enter the username. The user name and corresponding responsibilities are stored in Sheet2 so as soon as I enter the username in the user form the corresponding responsibilities should be displayed in the combo box next to it( a username will have many resposibilities). From the list of responsibilities when I choose one of the responsibilities then its corresponding Module (which is stored in sheet1) shouold be displayed in the text box2.

    Thanks

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Help required in user form

    I did not see your example originally,
    This code will add items to your listbox
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: Help required in user form

    Quote Originally Posted by umayank View Post
    sorry thats not what is required. I will rephrase it what I want..

    In the user form there is a text box where I enter the username. The user name and corresponding responsibilities are stored in Sheet2 so as soon as I enter the username in the user form the corresponding responsibilities should be displayed in the combo box next to it( a username will have many resposibilities). From the list of responsibilities when I choose one of the responsibilities then its corresponding Module (which is stored in sheet1) shouold be displayed in the text box2.

    Thanks
    Confusion with the word module

  6. #6
    Registered User
    Join Date
    10-14-2008
    Location
    India
    Posts
    40

    Re: Help required in user form

    Hi Dave,

    Module is nothing but the responsibilities fall under one module. Can you please check the attachment that I have given

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

    Re: Help required in user form

    There's a form that displays data from a sheet and you can filter the data by using comboboxes on the form

    http://www.sendspace.com/file/fesfxr
    Hope that helps.

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

    Free DataBaseForm example

+ 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