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
Post a Comment