Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can I create a range name based on the value of a cell?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
TroyH,
Sure can! Sub test() ActiveWorkbook.Names.Add _ Name:=Range("A2").Value, _ RefersTo:="=Sheet1!$A$1:$D$3" End Sub Rob "TroyH" wrote in message ... Can I create a range name based on the value of a cell? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Range("A1:J10").Name = Range("K1").Value In article , "TroyH" wrote: Can I create a range name based on the value of a cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
converting email address names in a range of cells to real names | Excel Worksheet Functions | |||
Creating names | Excel Discussion (Misc queries) | |||
Creating names for individual cells over a range | Excel Discussion (Misc queries) | |||
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES | Excel Discussion (Misc queries) | |||
Creating names | Excel Discussion (Misc queries) |