WorksheetFunction.AmorDegrc Method

Returns the depreciation for each accounting period. This function is provided for the French accounting system.

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

Syntax

'Declaration
Function AmorDegrc ( _
    Arg1 As Object, _
    Arg2 As Object, _
    Arg3 As Object, _
    Arg4 As Object, _
    Arg5 As Object, _
    Arg6 As Object, _
    Arg7 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim Arg3 As Object
Dim Arg4 As Object
Dim Arg5 As Object
Dim Arg6 As Object
Dim Arg7 As Object
Dim returnValue As Double

returnValue = instance.AmorDegrc(Arg1, _
    Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
double AmorDegrc(
    Object Arg1,
    Object Arg2,
    Object Arg3,
    Object Arg4,
    Object Arg5,
    Object Arg6,
    Object Arg7
)

Parameters

  • Arg2
    Type: System.Object

    The date of the purchase of the asset.

  • Arg3
    Type: System.Object

    The date of the end of the first period.

  • Arg4
    Type: System.Object

    The salvage value at the end of the life of the asset.

Return Value

Type: System.Double

Remarks

If an asset is purchased in the middle of the accounting period, the prorated depreciation is taken into account. The method is similar to AmorLinc(Object, Object, Object, Object, Object, Object, Object), except that a depreciation coefficient is applied in the calculation depending on the life of the assets.The following table describes the values used in Arg7.

Basis

Date system

0 or omitted

360 days (NASD method)

1

Actual

3

365 days in a year

4

360 days in a year (European method)

Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900. Microsoft Excel for the Macintosh uses a different date system as its default.

This function will return the depreciation until the last period of the life of the assets or until the cumulated value of depreciation is greater than the cost of the assets minus the salvage value.

The depreciation coefficients are:

Life of assets (1/rate)

Depreciation coefficient

Between 3 and 4 years

1.5

Between 5 and 6 years

2

More than 6 years

2.5

The depreciation rate will grow to 50 percent for the period preceding the last period and will grow to 100 percent for the last period.

If the life of assets is between 0 (zero) and 1, 1 and 2, 2 and 3, or 4 and 5, the #NUM! error value is returned.

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace