Visual Basic for Applications Reference

Visual Studio 6.0

SLN Function

See Also    Example    Specifics

Returns a Double specifying the straight-line depreciation of an asset for a single period.


SLN(cost, salvage, life)

The SLN function has these named arguments:

Part Description
cost Required. Double specifying initial cost of the asset.
salvage Required. Double specifying value of the asset at the end of its useful life.
life Required. Double specifying length of the useful life of the asset.


The depreciation period must be expressed in the same unit as the life argument. All arguments must be positive numbers.