WorksheetFunction.Sln Method

Returns the straight-line depreciation of an asset for one period.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Sln ( _
    Arg1 As Double, _
    Arg2 As Double, _
    Arg3 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim returnValue As Double

returnValue = instance.Sln(Arg1, Arg2, _
    Arg3)
double Sln(
    double Arg1,
    double Arg2,
    double Arg3
)

Parameters

  • Arg2
    Type: System.Double

    Salvage - the value at the end of the depreciation (sometimes called the salvage value of the asset).

  • Arg3
    Type: System.Double

    Life - the number of periods over which the asset is depreciated (sometimes called the useful life of the asset).

Return Value

Type: System.Double

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace