Is there an easy way to grey-out (or deactivate) a load of cells based on another drop-down validation list? i.e. If I select "Microsoft Office" from a drop-down, it will then grey out the next few rows cells beneath it.
hi bobsan42, thanks for the reply. I should have mentioned that I want to avoid using Conditional Formatting as it significantly bloats the spreadsheet (Excel 2003) when you start implementing rules. Whilst Conditional Formatting is handy as it allows me to target the exact cells - e.g. deactivate (or grey-out) cells C6 to D400 if a choice is selected from cell validation....it is way too bloaty.
Can you explain exactly what you want? When you say "Grey out", do you mean color them of Lock them for editing? OR, do you perhaps wish to Hide those rows?? How many choices in your DD? Does each choice deactivate a different range of cells?? This is the detail we need to help you. The VBA code for this is not difficult, but we need the specifics!!
You would probably be better off to start your own thread and give exact details!! What Words? What Cells? What version of Excel?? For versions earlier than 2007, you may need code depending on how many different formats you have!!
Hi Lenze, thanks. Basically I will have x5 choices on the DD. If for example "FTP" is selected from our DD list then it will "grey out". By "grey out" i mean color the cells grey.... ideally. This will notify the user that they do not need to fill in the section further down our spreadsheet. I do not wish to hide the rows nor lock them for editing. Additionally, if the user chnaged their mind on the DD then the cell area would go white again. That would be cool.
Deactivating (i.e. coloring grey) a specific range of cells would be handy - maybe a Named Range. I know how to name a range of cells but that's it.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$A$1" Then Exit Sub
Cells.Interior.ColorIndex = xlNone
Select Case UCase(Target)
Case "FTP": Range("Range1").Interior.Color Index = 15
Case "XXX": Range("Range2").Interior.ColorIndex = 15