View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Yuriy Kuznetsov Yuriy Kuznetsov is offline
external usenet poster
 
Posts: 2
Default Create array function

How to create worksheet function that return a array into
cells ? This function return only 100 into cells (i put cell as single
or as a arry function (with ctrl+shift+enter)

Function test() As Variant
Dim a(2) As Byte
a(0) = 100
a(1) = 50
test = a
End Function