Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to modify a bunch of named ranges and I think I'm hitting a
limitation on the maximum length for the Refers to field. Does anyone know what that is? The length of what I have is between 69 and 110 Thanks, Barb Reinhardt |
#2
![]() |
|||
|
|||
![]()
Hi Barb,
Yes, there is a limitation on the maximum length for the Refers to field in named ranges in Excel. The maximum length is 255 characters. If you are hitting this limitation, you will need to shorten the range name or find a way to simplify the range reference. Here are a few tips to help you work within this limitation:
Hope this helps! Formula:
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Barb,
The limit is 255 in 2003 or earlier, I haven't check 2007 but I don't think it changed. -- Cheers, Shane Devenshire Microsoft Excel MVP "Barb Reinhardt" wrote: I'm trying to modify a bunch of named ranges and I think I'm hitting a limitation on the maximum length for the Refers to field. Does anyone know what that is? The length of what I have is between 69 and 110 Thanks, Barb Reinhardt |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I thought that the limit was 256 characters, but I must be wrong if you're
failing before you exceed 110 characters. It may be better to create the range and then name it instead of using a lot of addresses. Dim myRng as range with activesheet set myrng = union(.range("a1"), .range("c2:x99"), .... .range("iv99")) end with myrng.name = "HiThere" or if it's a worksheet level name. with myrng .name = "'" & .parent.name & "'!HiThere" end with Barb Reinhardt wrote: I'm trying to modify a bunch of named ranges and I think I'm hitting a limitation on the maximum length for the Refers to field. Does anyone know what that is? The length of what I have is between 69 and 110 Thanks, Barb Reinhardt -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It could also be that my Offset function isn't set up properly. Will have
to look at that further. Thanks, Barb Reinhardt "ShaneDevenshire" wrote: Hi Barb, The limit is 255 in 2003 or earlier, I haven't check 2007 but I don't think it changed. -- Cheers, Shane Devenshire Microsoft Excel MVP "Barb Reinhardt" wrote: I'm trying to modify a bunch of named ranges and I think I'm hitting a limitation on the maximum length for the Refers to field. Does anyone know what that is? The length of what I have is between 69 and 110 Thanks, Barb Reinhardt |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It wasn't the refers to length that was the problem. It was my reference to
the worksheet name in my code that was the problem. Thanks for your help. Barb Reinhardt "ShaneDevenshire" wrote: Hi Barb, The limit is 255 in 2003 or earlier, I haven't check 2007 but I don't think it changed. -- Cheers, Shane Devenshire Microsoft Excel MVP "Barb Reinhardt" wrote: I'm trying to modify a bunch of named ranges and I think I'm hitting a limitation on the maximum length for the Refers to field. Does anyone know what that is? The length of what I have is between 69 and 110 Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation length, Range length | Excel Discussion (Misc queries) | |||
Named Range Limitations | Excel Discussion (Misc queries) | |||
countif argument for 3 occurences of which 1 refers to a range | Excel Discussion (Misc queries) | |||
toggling which worksheet a named range refers to | Excel Discussion (Misc queries) | |||
named range refers to: in a chart | Excel Discussion (Misc queries) |