List found strings on sheet
This snippet displays the found search strings in a message box - Sheet and cell address.
How do I get the last line to put the found strings in individual cells on the sheet instead of all in K2 as it now does.
Thanks,
Howard
If bFoundID Then
sMsg = "The ID (" & sID & ") was found on the following sheets:"
sMsg = sMsg & vbLf & vbLf
sMsg = sMsg & Join(Split(Mid(sIdShts, 2), ","), vbLf)
Else
sMsg = "ID not found"
End If
MsgBox sMsg
Range("K2") = Join(Split(Mid(sIdShts, 2), ","))
|