Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
R1C1 to Range
How would I use an excel range with the following
statement instead of the R1C1 formula? ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!R17C1" For example ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!Range("A1") TIA |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
R1C1 to Range
Hi Jahson,
How would I use an excel range with the following statement instead of the R1C1 formula? ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!R17C1" ActiveWorkbook.Worksheets("Control").Range("A1").N ame="Drp_Name" Regards, Jan Karel Pieterse Excel MVP www.jkp-ads.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
R1C1 to Range
Jahson,
Worksheets("Control").Range("A1").Name = "Drp_Name" -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Jahson" wrote in message ... How would I use an excel range with the following statement instead of the R1C1 formula? ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!R17C1" For example ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!Range("A1") TIA |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
R1C1 to Range
ActiveWorkbook.Names.Add Name:="Drp_Name", _
RefersTo:="=Control!$A$1" As another example. -- Regards, Tom Ogilvy "Jahson" wrote in message ... How would I use an excel range with the following statement instead of the R1C1 formula? ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!R17C1" For example ActiveWorkbook.Names.Add Name:="Drp_Name", RefersToR1C1:="=Control!Range("A1") TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Range selection with R1C1 | Excel Discussion (Misc queries) | |||
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 | Excel Discussion (Misc queries) | |||
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 | Excel Worksheet Functions | |||
R1C1 | Excel Discussion (Misc queries) | |||
Using Range with R1C1 notation in a macro | Excel Programming |