Create a function in Excel VBA which will take two arguments.The value provided for an argument is also called a parameter.
In our example we will create below function:
Name of function: totalsaray
First Argument: Salary
Second Argument:Yr
Function totalsaray(salary As Double, yr As Integer) As Double
If the procedure takes more than one argument, separate them with commas.We have to remember that When you call a procedure that takes more than one argument, you must provide the values of the arguments in the order they are listed inside of the parentheses"()".
On this page of the site you can watch the video online Multiple arguments in function excel VBA with a duration of hours minute second in good quality, which was uploaded by the user ByteWise 21 December 2018, share the link with friends and acquaintances, this video has already been watched 5,561 times on youtube and it was liked by 27 viewers. Enjoy your viewing!