hey everyone newbs back,
Simon thanks for your help from before (works) however I found out that there is another variable I need to check now...
does the select case function have a syntax for checking 2 variables?
heres what is going on: followed on from this thread
[vba]
sub test1()
Dim Rng As Range, MyCell As Range
Set Rng = Range("M3:M50")
For Each MyCell In Rng
Select Case MyCell.Value
Case "fred"
MyCell.Offset(0, -8).Value = "Entry Found"
Case "bob"
MyCell.Offset(0, -8).Value = "Entry Found1"
End Select
Next MyCell
End Sub
[/vba]
how can I add a check for a value in range(O3:O50) which is either going to be NA or AD ? I need to get bob with NA to output one thing and bob with AD to output another. I cant seem to find the info anywhere!
thanks!