When changing the value (dropdown) of cell B12, cell B13 should mention "Please Select..." and all cells in range A16:N20 should be cleared but not the formulas (each cell in the range contains index/match formulas linked to cells B12, B13 and others...). This is the current code which does not work...
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$B$12" Then
With Application
.DisplayStatusBar = False
.ScreenUpdating = False
.EnableEvents = False
.Calculation = xlCalculationManual
End With
Range("B13").Value = "Please Select..."
Range("A16:N20").SpecialCells(xlCellTypeConstants, 23).ClearContents
With Application
.Calculation = xlCalculationAutomatic
.EnableEvents = True
.ScreenUpdating = True
.DisplayStatusBar = True
End With
End If
End Sub
Also Excel is very slow having to update all these index/match formulas - is there a way in vba to make it faster?