Necroscope
Board Regular
- Joined
- Jul 7, 2004
- Messages
- 72
Hi.
I have a table containing staff member names (column A), team they belong to, which is numbered between 1 to 30 (column B) and contact info / location info in columns C and D. The whole range is A4:D434.
What I'd (ideally) like to do is have a Userform pop up and show all of the staff members who belong to the same team as the name showing in A1.
So, for example, if A1 contains "Joe Bloggs". Joe is in team 3. I want to display a pop up (Userform) that shows everyone else in team 3, along with their contact info/location:
I.e. it might look like this:
Joe Bloggs 01234 4567890 London
John Smith 09876 543210 Edinburgh
Jane Doe 07070 123456 New York
It sounds like a fairly simple task but I haven't been able to figure out how to do this with VBA so any help with this would be appreciated...
TIA
I have a table containing staff member names (column A), team they belong to, which is numbered between 1 to 30 (column B) and contact info / location info in columns C and D. The whole range is A4:D434.
What I'd (ideally) like to do is have a Userform pop up and show all of the staff members who belong to the same team as the name showing in A1.
So, for example, if A1 contains "Joe Bloggs". Joe is in team 3. I want to display a pop up (Userform) that shows everyone else in team 3, along with their contact info/location:
I.e. it might look like this:
Joe Bloggs 01234 4567890 London
John Smith 09876 543210 Edinburgh
Jane Doe 07070 123456 New York
It sounds like a fairly simple task but I haven't been able to figure out how to do this with VBA so any help with this would be appreciated...
TIA