WorksheetFunction.Vdb Method
Excel Developer Reference |
Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify. VDB stands for variable declining balance.
Syntax
expression.Vdb(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Arg1 | Required | Double | Cost - the initial cost of the asset. |
Arg2 | Required | Double | Salvage - the value at the end of the depreciation (sometimes called the salvage value of the asset). This value can be 0. |
Arg3 | Required | Double | Life - the number of periods over which the asset is depreciated (sometimes called the useful life of the asset). |
Arg4 | Required | Double | Start_period - the starting period for which you want to calculate the depreciation. Start_period must use the same units as life. |
Arg5 | Required | Double | End_period - the ending period for which you want to calculate the depreciation. End_period must use the same units as life. |
Arg6 | Optional | Variant | Factor - the rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method). Change factor if you do not want to use the double-declining balance method. For a description of the double-declining balance method, see DDB. |
Arg7 | Optional | Variant | No_switch - a logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the declining balance calculation. |
Return Value
Double
Remarks
- If no_switch is TRUE, Microsoft Excel does not switch to straight-line depreciation even when the depreciation is greater than the declining balance calculation.
- If no_switch is FALSE or omitted, Excel switches to straight-line depreciation when depreciation is greater than the declining balance calculation.
All arguments except no_switch must be positive numbers.
See Also