Here is a sample of how to add the totals, this does not display it on your page, you will have to do that yourself.
VB Code:
Private mcItems(1 To 4, 1 To 5) As Byte
Private Sub CalcTotals()
Dim ColTotals(1 To 5) As Long
Dim RowTotals(1 To 4) As Long
Dim i As Long, ii As Long
For i = 1 To 5
For ii = 1 To 4
ColTotals(i) = ColTotals(i) + mcItems(ii, i)
RowTotals(ii) = RowTotals(ii) + mcItems(ii, i)
Next ii
Next i
'instead of using Msgbox you can save them to a textbox or whatever you need
For i = 1 To 4
MsgBox RowTotals(i)
Next i
For i = 1 To 5
MsgBox ColTotals(i)
Next i
End Sub
Private Sub Form_Load()
'set ur array values in mcItems first
mcItems(1, 1) = 5
'...
CalcTotals
End Sub