VBA SYD Function

VBA SYD Function

Overview of VBA SYD Function:


VBA SYD function is categorized as Financial function. This is a built-in Excel VBA Function. This function calculates the sum of years’ digits depreciation of an asset for a specific period of time. We can use this function in VBA and can’t use in Excel. This function we use in either procedure or function in a VBA editor window in Excel. We can use this VBA SYD Function in any number of times in any number of procedures or functions. Let us learn what is the syntax and parameters of the SYD function, where we can use this SYD Function and real-time examples in Excel VBA.

Syntax of VBA SYD Function

The syntax of the SYD Function in VBA is

SYD(Cost, Salvage, Life, Period)

The SYD function returns a double value.

Parameters or Arguments:

The SYD function has four arguments in Excel VBA.
where

Cost:The Cost is a required argument.
Salvage:The Salvage is a required argument.
Life:The Life is a required argument.
Period:The Period is a required argument.

Where we can apply or use VBA SYD Function?

We can use this SYD Function in VBA MS Office 365, MS Excel 2016, MS Excel 2013, 2011, Excel 2010, Excel 2007, Excel 2003, Excel 2016 for Mac, Excel 2011 for Mac, Excel Online, Excel for iPhone, Excel for iPad, Excel for Android tablets and Excel for Android Mobiles.

Instructions to use Macro Codes

Here are the step by step instructions to use the VBA SYD function in Excel VBA.

  • Open an Excel workbook.
  • Press Alt+F11 to open VBA Editor window.
  • Go to Insert menu and click on module from the available options.
  • Copy above specified procedures or macros to the VBA editor.
  • Select any procedure from above codes and click on ‘Run’ command or use Keyboard shortcut ‘F5’.

List of VBA Functions:

Please click on below link to go back to see all List of VBA Functions.

VBA Financial Functions List of VBA Functions

Leave a Comment

Your email address will not be published. Required fields are marked *