Thread: Simple Thing
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
David David is offline
external usenet poster
 
Posts: 1,560
Default Simple Thing

Hi Brian,
If you are on the cell you want to capture, Z= activecell.value
If the cell is relative, Z=activecell.offset(1,1).value


"Brian" wrote:

I want to set a variable equal to a relative cell. How do
I do that. My small brain can't seem to think of anything
else except for the below. Thanks, Brian


Set rng1 = Worksheets("sheet 1").ActiveCell.Offset(11,
0).Range("A1")
(This does not make it relative... hmm any ideas..