Microsoft Excel VBA ABS Function

Excel VBA ABS Function

The Excel ABS function is very simple to use.  If you want to find an absolute value of a number, you would encompass that variable within the function.

ABS Function Example:

Dim GetABS As Integer
GetABS = ABS(-274)

GetABS would equal 274.