+ Reply to Thread
Results 1 to 9 of 9

Based on data from combo box , list range of value to another combo box / listbox

  1. #1
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Based on data from combo box , list range of value to another combo box / listbox

    Hello,

    I am not an expert in MACRO, however I have created a sheet and stuck now... where I have a "Area_ComboBox1". Based on the selection from this combo box, I need to list a range of data from sheet "Observation_DBS" and display in another "Observation_ComboBox" placed in a from "ObservationForm1"

    Eg:
    "Area_ComboBox1"
    Acceptance
    Delivery

    Data in sheet "Observation_DBS"
    ACCEPTANCE (cell A1)
    1.0- FOD found on Equipments/Storage unit used in operations
    1.2- Environmental standards are not followed in workplace
    1.2.1- Found trash and other waste in paper recycle bin.


    DELIVERY (Cell B1)
    1.0- Found FOD in Recycle bin / Recycle bin not available
    1.2- Environmental standards are not followed in workplace
    2.0.2- Equipment checklist was not prepared / available with operator


    If I select "ACCEPTANCE" I should get the data in "Observation_ComboBox" placed in the form "ObservationForm1"

    Can any one help me out?

    Regards./Aju
    Last edited by ajupillai; 07-21-2016 at 03:35 AM. Reason: Solved!

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Hi Aju,

    It would be good if you provide sample workbook, it will help us to give you accurate solution...
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Quote Originally Posted by Naveed Raza View Post
    Hi Aju,

    It would be good if you provide sample workbook, it will help us to give you accurate solution...
    Hi Naveed - I have attached the correct sample file, please have a look in it!

    Rgds/Aju
    Last edited by ajupillai; 07-21-2016 at 02:35 AM. Reason: Wrong file attached!

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Hi Ajupillai,

    check out the attached file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Hi Naveed - I was able to do it in the form by inserting the code: ListBox1.RowSource = "Observation_DBS!A2:A72", but I was looking for the list box placed in "Dashboard_FG5" and then based on the selection it should auto populate the data in the form
    Is it possible?

  6. #6
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Hi Ajupillai,

    see the attached updated template
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Hi Naveed, I appreciate your patience , but it is not loading in the "UserForm1".

    I shall give an example!

    When I select "Acceptance" in the sheet "Dashboard_FG5" and when i open the form all the below items under "Acceptance" should show in the "UserForm1" - "Listbox" or "Combobox"
    1.0- FOD found on Equipments/Storage unit used in operations
    1.1- Diesel forklifts are being used at the dock
    1.2- Environmental standards are not followed in workplace

    Hope it is clear, else please let me now.

    Rgds/Aju

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,548

    Re: Based on data from combo box , list range of value to another combo box / listbox

    Change to
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    06-25-2016
    Location
    Dubai
    MS-Off Ver
    2010
    Posts
    29

    Thumbs up Re: Based on data from combo box , list range of value to another combo box / listbox

    Wow!!! That solved my sheet!!! Thank you so much "jindon" and "Naveed"

    Regards/Aju

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 19
    Last Post: 09-06-2014, 06:30 PM
  2. Dependant ActiveX Combo Box list based on Data Validation List
    By spalmer28 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2014, 07:57 AM
  3. Populating data into listbox based on 3 combo box's using a userform
    By Louis Dean in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2014, 06:39 AM
  4. [SOLVED] Fill combo box list based on other combo box values
    By rain4uu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2013, 03:04 PM
  5. combo box input range based on the other combo box selection
    By hedayet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-08-2013, 02:27 AM
  6. form that copy the listbox based on combo box
    By darkhangelsk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2013, 09:19 AM
  7. Filtered list for Combo Box ListFillRange - Nested Combo Boxes
    By DoctorG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2006, 08:20 AM

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