Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-13-2017, 12:35 PM
thovdael thovdael is offline Userform with cascade ComboBox Windows 7 64bit Userform with cascade ComboBox Office 2010 64bit
Novice
Userform with cascade ComboBox
 
Join Date: Apr 2017
Posts: 3
thovdael is on a distinguished road
Lightbulb Userform with cascade ComboBox


Hi All,

First of all, thank to them who take the time to look at this. I am currently making a database in Excel where I want to list several companies. To add a new company to the list, I want to use a userform (As given in the example file attached). Three of the fields that have to be filled out are "Super Category", "Major Category" and "Sub Category". In order not to make thousands of different names or designations, I would like to give the people choices using ComboBoxes. The purpose is to link them all three to each other. The content of Sub Category has to be based on the content of the Major Category and Major Category will, on its turn, be based on the choices made in the Super Category field.

The data with the different categories used for the ComboBoxes is located on sheet 1 in the example file attached.

For example: if a person chooses "Baby" as Super category, the only items that may appear as Major categories should be: baby food, diapers, baby wipes, formula, beby health, baby accessories and petroleum jelly.
If baby food is chosen as major category, only 'baby food jar', 'baby food dry, cereal', 'baby food toddler snacks', baby food juices' and 'O&N baby food' can appear.

The problem I have right now is with the code to link the Comboboxes and provide them with the right content. Can anyone help me on this code and tell me how I can connect the boxes and make sure that they contain the values based on each other value?

Thanks in Advance,
Thomas
Attached Files
File Type: xlsx example.xlsx (302.0 KB, 11 views)
Reply With Quote
 

Tags
cascade, combobox, userforms



Similar Threads
Thread Thread Starter Forum Replies Last Post
Userform with cascade ComboBox Populate Combobox from Excel into a Word UserForm ferguson4848 Word VBA 3 10-28-2016 09:05 PM
Cannot tile or cascade presentations in PP2013 dave3point0 PowerPoint 0 01-07-2016 03:20 AM
Userform with cascade ComboBox Using combobox to pass data from an Excel spread sheet to text boxes on userform Stewie840 Word VBA 14 12-17-2015 10:13 PM
Value of Combobox in other userform Vibov Excel Programming 4 11-19-2015 04:12 AM
Create UserForm ComboBox or ContentControl ptmuldoon Word VBA 11 01-17-2015 05:58 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft