View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_2354_] Rick Rothstein \(MVP - VB\)[_2354_] is offline
external usenet poster
 
Posts: 1
Default reference cells related to the current cell

I think we (at least, I) need a little clarification on your posting. First,
you have posted in the programming newsgroup, so am I correct in assuming we
are talking about VB code? Whether your answer to this question is yes or
no, can you give us an example that shows what you have and what you want in
the as a result?

Rick


"CuriousMark" wrote in message
...
In a function, how do I reference values in cells offset from the current
cell? For example, I want to concatenate the text in the cells in the two
rows above the cell with the function call. Note that the cell containing
the
function is not necessarily the active cell, so I can't use Activecell to
determine it's row/column. I also haven't been able to figure out how to
use
the Offset function to retrieve the information without also using
Activecell. I'm sure this is easy but I just haven't been able to get it.

Thanks in advance.

CM