Results 1 to 10 of 10

Userform - dependent combobox to select worksheet to return search results and data change

Threaded View

ThePeoplesClub Userform - dependent combobox... 11-23-2016, 11:36 AM
davesexcel Re: Userform - dependent... 11-23-2016, 12:14 PM
ThePeoplesClub Re: Userform - dependent... 11-24-2016, 06:33 AM
kasan Re: Userform - dependent... 11-24-2016, 07:12 AM
ThePeoplesClub Re: Userform - dependent... 11-24-2016, 07:20 AM
kasan Re: Userform - dependent... 11-24-2016, 09:12 AM
ThePeoplesClub Re: Userform - dependent... 11-29-2016, 05:43 AM
kasan Re: Userform - dependent... 11-29-2016, 08:52 AM
ThePeoplesClub Re: Userform - dependent... 11-29-2016, 11:28 AM
kasan Re: Userform - dependent... 11-29-2016, 01:27 PM
  1. #1
    Registered User
    Join Date
    11-04-2008
    Location
    England
    Posts
    14

    Userform - dependent combobox to select worksheet to return search results and data change

    Dear community,

    I have been reviewing the internet to identify if my objective within a VBA user form has already been undertaken but I can’t seem to hit the nail on the head and get a correct match. Results that I seem to find is a combobox confined to searching ranges within one worksheet and not more than one worksheet.

    The requirement

    Using an example template spreadsheet (attached to this post) I have 3 tabs which are named as School 1, School 2 and School 3. Each of these tabs collates pupil reference numbers, names, ages and expected grade. (I also have a tab which has a version tracker which will need to be retained in spreadsheet but is not required to be included in the requested userform)

    I have set up a userform (PupilUserForm) which you can access via the VBA developer function. What I would like this userform to do is as follows:

    1. Select the combobox which determines selects the worksheet to start the search function (i.e. School 1, School 2 and School 3)
    2. Determining the selected ‘school x’ worksheet from the combo box, this will automate a mini listbox which will show all pupil reference numbers and associated pupil names from that chosen worksheet (range won’t be different in either of the three tabs, except the amount of rows of information according to number of pupils)
    3. In addition, I would like to click on any of the pupils in the listbox and associated information will appear in the designated textboxes for age and expected grade
    4. To add the icing to this VBA function cake, I would like to place some command buttons within this userform which will enable myself to update the values within text boxes (age and expected grade) and click ‘update’ or ‘clear’

    Template attached

    The spreadsheet template is attached and although I have tried to commence producing the VBA code for my request, I deem my unsuccessful production of a specified VBA would only confuse matters and therefore a blank template request I deem is the correct way for a resolution.

    I hope this is clear and if there are queries, I hope to provide responses at the earliest possible opportunity.

    Cheers!
    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. Select row from combobox - display data in userform
    By behedwin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2016, 11:04 AM
  2. [SOLVED] Search column for entered value and return results to textbox in userform
    By MIFF3436 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2015, 06:35 AM
  3. Replies: 2
    Last Post: 02-06-2014, 09:52 AM
  4. [SOLVED] Userform Search to return results in columns in listbox
    By goffa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2013, 09:53 PM
  5. Search Worksheet Using ComboBox & Show Results in Different Worksheet
    By MIFF3436 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2012, 11:42 AM
  6. Replies: 8
    Last Post: 01-03-2011, 04:19 AM
  7. Dependent Data Validation Combobox from Other Worksheet
    By blacque in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2009, 08:22 PM

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