buckwheat4948
New Member
- Joined
- Jun 10, 2011
- Messages
- 14
I have a problem that is a little complex for me.
I have a spreadsheet with data, say cells $A$11:$A$30 that each cell contains, say one of 5 different userids. So one userid could be there 5 times, another one twice, another one once etc.
Id like to have cell A5 have a drop down list that contains one of each of the userids found in cells $A$11:$A$30 ie: remove the duplicates.
Id then like to have A6 display the total of userid's found from cells $A$11:$A$30 when the user clicks on the userid from dropdown list in cell A5.
And to top it all off, the sheet that this is on is created through VBA automatically. So the formulas needs to added to the sheet through VBA at sheet creation time. Is it possible to do this by using .formula?
Can someone help me? Many thanks,
Mike
I have a spreadsheet with data, say cells $A$11:$A$30 that each cell contains, say one of 5 different userids. So one userid could be there 5 times, another one twice, another one once etc.
Id like to have cell A5 have a drop down list that contains one of each of the userids found in cells $A$11:$A$30 ie: remove the duplicates.
Id then like to have A6 display the total of userid's found from cells $A$11:$A$30 when the user clicks on the userid from dropdown list in cell A5.
And to top it all off, the sheet that this is on is created through VBA automatically. So the formulas needs to added to the sheet through VBA at sheet creation time. Is it possible to do this by using .formula?
Can someone help me? Many thanks,
Mike