Hi,
I'm trying to do something I thought would be simple, but have had no success. I need to SUM several ranges of numbers in F8:11, F14:20, C23:C28, F23:F26, I23:I31 into one total. The code below adds only F8 through F11 and ignores the rest. Please help!
With Sheets("MEL")
myTOTAL = Worksheets("MEL").Range("F8:F11, F14:F20, C23:C28, F23:F26, I23:I31")
TOTALResults = WorksheetFunction.Sum(myTOTAL)
Range("G4") = TOTALResults
End With
Many thanks,
Bonnie
I'm trying to do something I thought would be simple, but have had no success. I need to SUM several ranges of numbers in F8:11, F14:20, C23:C28, F23:F26, I23:I31 into one total. The code below adds only F8 through F11 and ignores the rest. Please help!
With Sheets("MEL")
myTOTAL = Worksheets("MEL").Range("F8:F11, F14:F20, C23:C28, F23:F26, I23:I31")
TOTALResults = WorksheetFunction.Sum(myTOTAL)
Range("G4") = TOTALResults
End With
Many thanks,
Bonnie