Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Galileo

    Function name as argument to subroutine

    Yakov, Yes! That's just what I needed. Thanks. To wrap this up for others who may be interested, Yakov's solution (applied to my application) would look something like this: Sub MainProcedure() Call DoSomethingWithFunction(x1,"FunctionName1") Call...
  2. Galileo

    Function name as argument to subroutine

    jproj, Thanks for your reply. I realize it isn't necessary to use the function name in the argument list in order to call it from the subroutine. It would just make the subroutine more general if the name could be a "variable" identified in the argument list. For example, if you...
  3. Galileo

    Function name as argument to subroutine

    Is it possible, in VBA, to pass the name of a function (or a subroutine) to a subroutine through the argument list? In FORTRAN it's possible to have a function name as one of the arguments of a subroutine. For example, when writing a subroutine to find the roots of an arbitrary function, one...

Part and Inventory Search