Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My current workaround to this problem is to declare the function as
Public Function xyz(abc as Range) as Variant 'Code 'klm is an array xyz = klm End Function This works efficiently enough, but I would like to tidy up my code by eliminating all non-explicit declarations. Furthermore, can someone tell me what exactly the difference between an array and a range is? For example, if I declare the function as Public Function(abc() as Double) as Variant, how will that make a difference? Is there any advantage of one over the other? Will functions like Rows.Count or Application.Count work with an array? Thank you in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Declare Variables in Array | Excel Discussion (Misc queries) | |||
Global array declare | Excel Programming | |||
Array as output of function | Excel Programming | |||
UDF, Array function, vertical output | Excel Programming | |||
Declare an Array() ???? | Excel Programming |