And the formula in which you call it from the worksheet, including the range selected
--
Kind regards,
Niek Otten
Microsoft MVP - Excel
"Bernard Liengme" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| Would you like to share the UDF with us?
| best wishes
| --
| Bernard V Liengme
| Microsoft Excel MVP
|
www.stfx.ca/people/bliengme
| remove caps from email
|
| <(E-Mail Removed)> wrote in message
| news:b1c4c468-10ea-45ef-a90a-(E-Mail Removed)...
| > I'm using a function that returns an array of data. I put in the
| > function name and hit ctrl-shift_enter and every cell in my selection
| > gets a #VALUE.
| >
| > So I thought the function might be returning bad data. I put a
| > breakpoint in the debugger and I can see that the array being returned
| > has good data. The returned type is variant/string(0 to 499, 0 to
| > 15). I've done some spot checking and the values look fine.
| >
| > How can it be that the array looks fine in the debugger but i'm
| > getting #VALUE back in my cells?
| >
| >
| > thanks,
| >
| > Satish
|
|