From what I've gathered, conditional formatting can't be done across sheets in a workbook so what I'm trying to do now is use VBA.
I would like a word (let's say "yes" or "no") selected in a dropdown list on sheet1! to then color a range of cells; Range("J3:P29") on sheet3!. If "yes" is selected the range will be colored and if "no" is selected then the range will not be colored.
I used the macrorecorder to record the code below. However, it doesn't record the selection from the dropdown list. It just replaced the action with commas.
Sub RangeRed()
'
' RangeRed Macro
'
'
Range("J3:P29").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub
I would greatly appreciate some help. Thanks!