WorksheetFunction.Syd Method
Returns the sum-of-years' digits depreciation of an asset for a specified period.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Syd ( _
Arg1 As Double, _
Arg2 As Double, _
Arg3 As Double, _
Arg4 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim Arg4 As Double
Dim returnValue As Double
returnValue = instance.Syd(Arg1, Arg2, _
Arg3, Arg4)
double Syd(
double Arg1,
double Arg2,
double Arg3,
double Arg4
)
Parameters
Arg1
Type: System.DoubleCost - the initial cost of the asset.
Arg2
Type: System.DoubleSalvage - the value at the end of the depreciation (sometimes called the salvage value of the asset).
Arg3
Type: System.DoubleLife - the number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
Arg4
Type: System.DoublePer - the period and must use the same units as life.
Return Value
Type: System.Double
Remarks
Syd is calculated as follows:
Figure 1: Equation for the Syd method