Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Simple Thing
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.. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Simple Thing
What exactly do you mean by a relative cell?
-- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... 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.. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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.. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF formula-simple question; simple operator | Excel Discussion (Misc queries) | |||
Simple problem, simple formula, no FUNCTION ! | Excel Worksheet Functions | |||
Simple Simple Excel usage question | Excel Discussion (Misc queries) | |||
Make it more simple or intuitive to do simple things | Charts and Charting in Excel | |||
Doing it's own thing | Excel Programming |