Thanks for your reply.
The code is shown in detail in the other forum. As I said "If you are
interested, please go to Excel General Questions and view the entire post
there."
Perhaps I should not worry about duplicating the entire post here? Some
forums get really upset over that.
> What's your formula (function)?
>
[quoted text clipped - 8 lines]
> > #VALUE! error. Can anyone spot what's triggering
> > the #VALUE! error, or suggest further debugging ideas?
pwrichcreek - 21 Mar 2008 23:49 GMT
I didn't get a solution from either forum where I posted this message. I
found the error to be in using a RETURN statement instead of an EXIT
statement where I wanted an immediate return from the function, rather than
letting the funtion exit dy default at the END FUNCTION statement.
Kindof suprised that the compiler did not flag the RETURN statement, which
apparently is not a legal VBA statement.
> Thanks for your reply.
>
[quoted text clipped - 17 lines]
> > > #VALUE! error. Can anyone spot what's triggering
> > > the #VALUE! error, or suggest further debugging ideas?