Say, sheet1 has 5 columns and 10 rows. I want to calculate sum of each column based on some other field. for e.g.,
Worksheets("sheet2".Range("E34" = "AB" or Worksheets("sheet2".Range("E34" = "CD"
{
....
do the sum
....
}
My question is this...
WHENEVER a cell value changes the corresponding sum should be recalculated once you leave the cell...how do I do that?
I have 5 different columns and each column has 10 rows...
can someone please help....thanks.
Worksheets("sheet2".Range("E34" = "AB" or Worksheets("sheet2".Range("E34" = "CD"
{
....
do the sum
....
}
My question is this...
WHENEVER a cell value changes the corresponding sum should be recalculated once you leave the cell...how do I do that?
I have 5 different columns and each column has 10 rows...
can someone please help....thanks.