Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Or in code (missed that):
ActiveWorkbook.Names.Add Name:="CellBelow", _ RefersToR1C1:="=INDIRECT(""r[1]c"",FALSE)" Dave Peterson wrote: How about: Insert|Name|Define Cellbelow =INDIRECT("r[1]c",FALSE) John Broderick wrote: Thanks Bob, this does the same thing as Insert Name /Define, which is the original question I asked. However I now realize when I use CellBelow on any sheet it always refers to the original sheet that was active when I defined it. I want CellBelow to refer to the cell below the active cell on the active sheet, not the original sheet. JB -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I have a cell value define a dynamic named range? | Excel Worksheet Functions | |||
Named Range that uses "relative" range - Possible? | Excel Worksheet Functions | |||
How to define a Named Range in VBA? | Excel Programming | |||
Define a range based on another named range | Excel Worksheet Functions | |||
relative reference in a macro to define a name | Excel Programming |