H
Helge V. Larsen
I have a table in a Word document. In the bottom row I want to have the sum
of the cells above. AND THIS SUM SHOULD BE UPDATED AUTOMATICALLY WHEN ANY OF
THE ABOVE CELLS ARE CHANGED.
I know that a good starting point is to enter the formula { =SUM(ABOVE) } in
the cells in the bottom row, and then write a routine :
Sub Update_Fields
ActiveDocument.Fields.Update
End Sub
But how to get this activated whenever a value is changed ???
I have not been able to find anything like Excel VBA's event routines. A
Document_Change or Table_Change event would be nice.
of the cells above. AND THIS SUM SHOULD BE UPDATED AUTOMATICALLY WHEN ANY OF
THE ABOVE CELLS ARE CHANGED.
I know that a good starting point is to enter the formula { =SUM(ABOVE) } in
the cells in the bottom row, and then write a routine :
Sub Update_Fields
ActiveDocument.Fields.Update
End Sub
But how to get this activated whenever a value is changed ???
I have not been able to find anything like Excel VBA's event routines. A
Document_Change or Table_Change event would be nice.