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...

Some videos you may like

This Week's Hot Topics