Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I was wondering if anyone could help me out with some code issues.
I have found several links showing how to define a name range with VBA, but I would like to do so with a dynamic name range as well. Can someone help me with some generic code on this issue? -- Mark Ivey UoP e-mail: Personal e-mail: |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Set myRng = Range(Range("A1"),Cells(Rows.Count,"A").End(xlUp)) myRng.Name = "some_name" which will get everytrhing in column A and name it "some_name" -- HTH RP (remove nothere from the email address if mailing direct) "Mark Ivey" wrote in message ... I was wondering if anyone could help me out with some code issues. I have found several links showing how to define a name range with VBA, but I would like to do so with a dynamic name range as well. Can someone help me with some generic code on this issue? -- Mark Ivey UoP e-mail: Personal e-mail: |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Bob. This works out great.
-- Mark Ivey UoP e-mail: Personal e-mail: "Bob Phillips" wrote in message ... Set myRng = Range(Range("A1"),Cells(Rows.Count,"A").End(xlUp)) myRng.Name = "some_name" which will get everytrhing in column A and name it "some_name" -- HTH RP (remove nothere from the email address if mailing direct) "Mark Ivey" wrote in message ... I was wondering if anyone could help me out with some code issues. I have found several links showing how to define a name range with VBA, but I would like to do so with a dynamic name range as well. Can someone help me with some generic code on this issue? -- Mark Ivey UoP e-mail: Personal e-mail: |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Color Coding cell based on date (over a large range) | New Users to Excel | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
optimize coding on named range | Excel Programming | |||
copying dynamic range based on cell outside of range | Excel Programming | |||
select dynamic range with dynamic start point | Excel Programming |