View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Mark H[_2_] Mark H[_2_] is offline
external usenet poster
 
Posts: 3
Default VB worksheet function parms

And if the parameters are range objects, i.e. cell addresses, then what? can
I say parm.col or something?

"Chip Pearson" wrote:

Unless your function parameters are Range objects, there is no
way to determine where the values came from.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Mark H" wrote in message
...
I've written a worksheet function in VB that is used by
entering it in a cell
in the worksheet with two parameters. I'd like to find a way
to know what
row or column the passed parameters came from so that I can
conditionally
determine the function output based on that row or column. Is
there an
object, method or property that will tell me this info about
passed
parameters to a VB function?