excel - Can you define name for a UDF then specify parameters outside the definition? -


is possible use defined name user defined function, declare parameters outside of definition?

if want myfunction(byval val string, byval position integer, optional byval separator string = ",") defined:

  • go formulas -> define name
  • name: mynamedfunction
  • scope: workbook
  • refers to: myfunction
  • press ok

when define name, don't error.

but when reference function in cell =mynamedfunction(b2, 0), gives me #ref!.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -