"ashley" <ash...@discussions.microsoft.com> wrote in message
news:E40C4452-8DD5-4C3E...@microsoft.com...
Allow: List
Source: S,B
That should do what you want.
HTH,
Paul
"ashley" <ash...@discussions.microsoft.com> wrote in message
news:E40C4452-8DD5-4C3E...@microsoft.com...
--
Regards,
Peo Sjoblom
"ashley" <ash...@discussions.microsoft.com> wrote in message
news:E40C4452-8DD5-4C3E...@microsoft.com...
For multiple Bs & Ss I had to resort to a macro:-
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A:A")) Is Nothing Then
For x = 1 To Len(Target.Value)
If Mid(Target.Value, x, 1) = "B" Or Mid(Target.Value, x, 1) =
"S" Then
Else
MsgBox ("Illegal entry, Capital B or S only")
Target.Value = ""
End If
Next
End If
End Sub
Mike
=LEN(SUBSTITUTE(SUBSTITUTE(A1,"B",""),"S",""))=0
HTH,
Elkar
Peo
"Elkar" <El...@discussions.microsoft.com> wrote in message
news:68779B2C-2668-497E...@microsoft.com...