I am trying to piece together some VBA code that would apply data validation (creating a list to use) to a cell based on the value of the cell next to it. I have this functionality working in a Google Spreadsheet which I just linked but I don't know anything about VB so I'm struggling with this.
The layout is a little odd with the spreadsheet since the sheet(s) that need this validation have the headers of the rows starting at row 2.
The basics of what's going on is:
- The header of the column that is determining the validation is called "Attribute Group". I want to avoid needing a fixed position so I went with the header name instead of a column index
- When a value changes in "Attribute Group" the cell adjacent to it to the right will have a dropdown created with values corresponding to the value in "Attribute Group"
Please check out the linked spreadsheet to see this functionality in action. I'm trying to get as close to this as possible in Excel.
Edit: The main question is: how do you create dynamic data validation in Microsoft Excel?