cdhoughton
Board Regular
- Joined
- Dec 5, 2003
- Messages
- 170
Hi all
I have a number of values in the column E:E, e.g.
8882150
8882150
8882211
8882150
3022014
8882211
3022014
...
I want to use VBA to capture each value in the list once and ignore other duplicates and then assign the value to a variable, ie get the following
Emp1 = 8882150
Emp2 = 8882211
Emp3 = 3022014
I'm not sure how to do this efficiently without a big For loop and a big Or statement - can anyone advise how best to go about this?
Cheers
Chris
I have a number of values in the column E:E, e.g.
8882150
8882150
8882211
8882150
3022014
8882211
3022014
...
I want to use VBA to capture each value in the list once and ignore other duplicates and then assign the value to a variable, ie get the following
Emp1 = 8882150
Emp2 = 8882211
Emp3 = 3022014
I'm not sure how to do this efficiently without a big For loop and a big Or statement - can anyone advise how best to go about this?
Cheers
Chris