Lambda as a param of UDF

Regular Contributor

A Lambda can take an input (parameter) that is another Lambda. Likewise, I would assume that I can supply a Lambda into a UDF in VBA that expects "Lam As Variant" (since normally anything goes with a Variant).  Does anyone know how I might invoke this "Lam"?  (I notice that eg "Lam as Lambda" is not a recognized syntax.)


Thanks for your help.

1 Reply
Not looking promising. Playing around with VBA, I get Error 2015 coming into the UDF. So it seems that a Lambda won't fit into a Variant...