Originally Posted by
pawcoyote
Hi, For some reason the this code isn't showing the Sheet where the info is missing as I thought it would.. It is just showing the following:
1. You hadn't asked for the sheet names. Didn't seem necessary since the macro only copies from MAFFT to Deployment, and only if the link field(s) do not have matching values you get the error message
2. Change to this
s = "No match found on " & wsDeploy.Name & " for ... " & vbCrLf & vbCrLf & vbCrLf
For i = 2 To wsCrossRef.Cells(1, 1).End(xlDown).Row
s = s & wsCrossRef.Cells(i, 1) & " = " & rMAFFT.Cells(iMAFFT, aMatch(i, 1)) & vbCrLf
Next I
MsgBox s & vbCrLf & " from " & wsMAFFT.Name
3. I think this is what you were asking for
Capture.JPG