function muliple return

  1. C

    multiple return values from a function

    Hi all, I'm trying to return multiple values from a function. I just got this working... is there a better way? Type FunctionReturn results(0, 1) As Variant End Type Public Sub callingFunction() Dim ThisResult As FunctionReturn Dim A, B Argument_1 = 7 Argument_2 = 5...
  2. U

    Help with Returning muliple values from a function

    Please help, I need to return multiple values from a function with for inputs: function name(i1,i2,i3,i4) As Variant Dim d(5) Dim other variables function calulation name = Array(d1,d2,d3,d4,d5) end function. This code does not work as I need to horizontaly return each value each column next to...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top