» Sum the digits numbers in a cell using custom VBA function in Microsoft Excel
CATEGORY - Custom Functions in VBA , Custom Functions
VERSION - All Microsoft Excel Versions
Function SumDigits(Number)
Dim i As Integer
For i = 1 To Len(Number)
SumDigits = SumDigits + Val(Mid(Number, i, 1))
Next i
End Function
To test the function:
Book Store:
Recommended Books:
No comments have been submitted.

