Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
naming a range
Hi
I wish to name a range using VB, the range would be the selected cells. The selected cells will vary so I cannot define e.g. A1:B4. Ideally Range (selected cells).name = my range Thanks for any help Jo |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
naming a range
Selection.Name = "myRange"
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Jo" wrote in message ... Hi I wish to name a range using VB, the range would be the selected cells. The selected cells will vary so I cannot define e.g. A1:B4. Ideally Range (selected cells).name = my range Thanks for any help Jo |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
naming a range
why send it 5 times?
selection.name=inputbox("Name the range") -- Don Guillett SalesAid Software "Jo" wrote in message ... Hi I wish to name a range using VB, the range would be the selected cells. The selected cells will vary so I cannot define e.g. A1:B4. Ideally Range (selected cells).name = my range Thanks for any help Jo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Naming a range | Excel Discussion (Misc queries) | |||
naming a range | Excel Programming | |||
VB Code Naming a Range (range changes each time) | Excel Programming | |||
Naming a Range | Excel Programming | |||
Range naming | Excel Programming |