Data Validation
Hi Soniya
Don't think you can without code -hope I'm wrong.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
If Target.Value = "" Then Exit Sub
If Val(Target.Value) Mod 10 = 0 Then
ElseIf Val(Target.Value) Mod 15 = 0 Then
Else
Target.Value = ""
End If
End If
End Sub
--
HTH. Best wishes Harald
Excel MVP
Followup to newsgroup only please.
"Soniya" wrote in message
...
Hi All,
How can I set a data validation to a cell to accept
either multiples of 10 or 15 ?
any help..
TIA
Soniya
|