Thread
:
Creating Range Names
View Single Post
#
2
Posted to microsoft.public.excel.programming
Rob van Gelder[_4_]
external usenet poster
Posts: 1,236
Creating Range Names
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?
Reply With Quote
Rob van Gelder[_4_]
View Public Profile
Find all posts by Rob van Gelder[_4_]