The macro recorder can only track actions, not logic. You need to add the logic yourself. The functionality to sum columns/rows is already built into the api. For example, to sum column 3 of a rev table:
Option Explicit
Dim swApp As SldWorks.SldWorks
Dim DwgDoc As SldWorks.ModelDoc2
Dim swSheet As SldWorks.Sheet
Dim swRevTable As SldWorks.TableAnnotation
Dim Msg As String
Dim nRow As Long
Dim nCol As Long
Dim nSum As Long
Sub Main()
Set swApp = Application.SldWorks
Set DwgDoc = swApp.ActiveDoc
Set swSheet = DwgDoc.GetCurrentSheet
Set swRevTable = swSheet.RevisionTable
nSum = 0
nCol = 3
For nRow = 1 To swRevTable.RowCount - 2
nSum = nSum + CLng(swRevTable.Text(nRow, nCol))
Next nRow
swRevTable.Text(swRevTable.RowCount - 1, nCol) = CStr(nSum)
End Sub