Hi,
I am new to VBA and I am looking for a way to drop a function call String
(e.g. "=MyArrayFunction(...)") into a single Excel cell, and the effect
should be that the returned array (1-dimension) is fed into a range of Excel
cells (either horizontal or vertical).
In brief:
1. Drag a string into 1 cell
2. My function will compute and return an array
3. A range of cells, starting from the dropped target, will be filled with
values from the returned array
The biggest problem is that a function is restricted to manipulation of only
the Application.Caller. As a result, only the first element of the returned
array is seen in the dropped target (just 1 cell); the remaining elements of
the array are simply discarded.
Please suggest me a way to resolve or perhaps work around this problem.
Sincerely,
Huy
Bookmarks