martinsimart
New Member
- Joined
- Mar 23, 2018
- Messages
- 9
Hi
I want to adapt the below code so that if I entered a name from a choice of say 10 names it would bring up a message box
with their managers name. The code below works for one name but how do i add to it?
Sub manager()
If Range("A1").Value = "Martin" Then
MsgBox "Lee", Title:="Manager is"
End If
End Sub
Thanks
Mart
I want to adapt the below code so that if I entered a name from a choice of say 10 names it would bring up a message box
with their managers name. The code below works for one name but how do i add to it?
Sub manager()
If Range("A1").Value = "Martin" Then
MsgBox "Lee", Title:="Manager is"
End If
End Sub
Thanks
Mart