Functions returning multiple answers

  • Thread starter Thread starter Clint
  • Start date Start date
C

Clint

Is there a way to write a function that will return
multiple answers? The function that I would like to
write would have 3 values passed to it and will perform
calculations and I would ultimately like to return about
4-5 of the calculations. Otherwise, this would all have
to be done in a sub which would greatly add to the code.
Thanks!
 
Hi
a function in a worksheet cell or even directly in code can only return
one value. But you may have a look at
ByRef
for declaring your variables
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top