- Thanks received
- 1,575
Need some help from those of you more familiar with VB and macro's than I am.
I have an excel work book. In the first sheet I have a list of user ID's and function categories thay have access to in an ERP application.
Sheet 1 :
.... etc.
In the second sheet I have a list of Funtion categories and the actual funtions associated with each category.
Sheet 2
This is highly simplified. There are dozens of categories and thousands of funtions involved.
I can filter the 1st sheet by user and get a list of function categories they have access to. What I would like to do is be able to filter the second sheet based on the categories returned by the filter in the first sheet and display the results on the first sheet, ideally by selecting a category from the list returned
So the macro should do somthing like
select all FUNCTIONS from sheet 2 where CATEGORY = value of cell selected in sheet 1.
Is this possible? Am I making sense?
I have an excel work book. In the first sheet I have a list of user ID's and function categories thay have access to in an ERP application.
Sheet 1 :
Code:
user ID Category
1 cat1
1 cat2
1 cat3
2 cat4
2 cat5
2 cat6
In the second sheet I have a list of Funtion categories and the actual funtions associated with each category.
Sheet 2
Code:
Category Function
cat1 func1
cat1 func2
cat1 func3
cat2 func1
cat2 func2
cat2 func3
cat3 func1
cat3 func2
cat3 func3
etc....
This is highly simplified. There are dozens of categories and thousands of funtions involved.
I can filter the 1st sheet by user and get a list of function categories they have access to. What I would like to do is be able to filter the second sheet based on the categories returned by the filter in the first sheet and display the results on the first sheet, ideally by selecting a category from the list returned
So the macro should do somthing like
select all FUNCTIONS from sheet 2 where CATEGORY = value of cell selected in sheet 1.
Is this possible? Am I making sense?
Last edited:
11:09

