Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You would have to set up a Worksheet_Change macro so that when the adjacent
cell is changed, validation is set up. Hard to explain further without details. Example: If Range("B1") = 0 Then Range("A1").Validation.Delete Else Range("A1").Validation.Add Type:=xlValidateList, Formula1:="1,2,3" End If -- Vasant "ghawk" wrote in message ... I have a Cell that I would like to setup to us an IF statement or a variable. I am trying to set this cell up that IF True it will work from a List Box, but if False it will allow me to type in General Text or numbers. I can set it up for one or the other currently, but need it to do both depending on what is in the cell next to it. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation Data using Validation Table cell range..... | Excel Discussion (Misc queries) | |||
Making a Cell turn color based on results in another cell | Excel Discussion (Misc queries) | |||
Addition to Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Code to automatically turn on and turn off Track Changes | Excel Programming |