How do I test for the first character

  • Thread starter Thread starter Kevlar
  • Start date Start date
K

Kevlar

This got it to work:

If Target.Address = "$D$22" Then
If Range("D18").Value = 1 Then
If Mid((Range("D22")), 1, 1) = "A" Then
Checktool.Show
End If
End If
End If

Thank
 
So the trick was looking at the correct cells and testing for 1 instead of
MP? There is no difference between Left(rng,1) = "A" and Mid(rng,1,1)="A"
except that it takes longer to type the second one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top