Rediger

Del via


WorksheetFunction.Vdb method (Excel)

Returns the depreciation of an asset for any period that you specify, including partial periods, by using the double-declining balance method or some other method that 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 don't 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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.