A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Where, What
Dim i As Integer
Dim Part As Range, This As Range
'Events off, otherwise we call ourself
Application.EnableEvents = False
'Setup cells and values
Where = Array("D7, F7, B10:B15", "D18, F18, B21:B26", "D29, F29, B32:B37")
What = Array(0.2367, 0.4495, 0.3879)
For i = 0 To UBound(Where)
'Get the part
Set Part = Intersect(Target, Me.Range(Where(i)))
'Something changed in there?
If Not Part Is Nothing Then
'In each of this cells
For Each This In Part
'Multiply numerical values
If IsNumeric(This) Then This = This * What(i)
Next
End If
Next
Application.EnableEvents = True
End Sub