Thread: array udf
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Doug Jenkins[_2_] Doug Jenkins[_2_] is offline
external usenet poster
 
Posts: 1
Default array udf

In short, you can make a UDF an array function by declaring it as a Variant,
and assigning the function return value to an array:

Function FunctionName(..) as variant
...
FunctionName = ArrayName
End Function




"Imda14u" wrote:

Hi all,

some worksheetfunctions need to be confirmed as Array function with Ctrl
+ Shift + Enter. Same thing for formulaconstructions where you have only
one fomrula for a range.

Can you also write your own UDF as array function?

Any idea where I can find a reference?

greets,

Sybolt