Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
custom data validation on cells with data validation values | Excel Worksheet Functions | |||
Validation Data using Validation Table cell range..... | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Worksheet Functions | |||
Data validation with validation lists and combo boxs | Excel Discussion (Misc queries) |