I am attemping to ask for a employee id number then searching another form to find this employee. I know for a fact that my Mail_Alert works and PN is copying the number over but it is not detecting the side of the other form.
Sub Find_Employee()
Dim PN As String
PN = Worksheets("Sheet3").Cells(1, "B").Value
Range("B2") = PN
Worksheets("Sheet4").Activate
Range("C2").Activate
Do Until IsEmpty(ActiveCell.Value)
If ActiveCell.Value = "PN" Then
Call Mail_Alert
End If
ActiveCell.Offset(1, 0).Select
Loop
End Sub