Limitations of Named Ranges

Gettingbetter

Well-known Member
Joined
Oct 12, 2004
Messages
602
Hello everybody

I currently have a spreadsheet that has a list of projects ( lets call them Project A, Project B, etc..)

Each time a project date or size is changed, the project needs to be completely removed and then reinput using the new information.

The problem I had was that information about the project is scattered on different dates on a sheet ( These could be any date which was specified when the project was put on )

Because of the size of data in this sheet 3845 rows 72 columns, doing a find and replace takes forever.

To get around this ( With help from this forum ) I used named ranges. This worked that everytime new information was added concerning a project it would be added to a named range, Seebelow

ActiveWorkbook.Names.Add Name:="Project1", RefersTo:="=" & Union([Project1], ActiveCell.Range("A1:B1")).Address

Then if the project was changed I would, use Application.Goto Reference:="Paul1" and clear contents

This worked perfectly, or so I thought

However nightmare struck me last night when my projects started getting bigger and I realised that named ranges can only be so big..
:cry:
Can anyone think of an alternative way of doing the above??

I hope this makes sence

Cheers
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Gettingbetter said:
However nightmare struck me last night when my projects started getting bigger and I realised that named ranges can only be so big..
:cry:
Can anyone think of an alternative way of doing the above??

Actually the named ranges can be whatever memory can provide. The limiation is non-contiguous ranges within the named range. Perhaps you could have the original set of data as a named range (ProjA), then have any additions to it as another similarly named ranges (i.e. ProjA1, ProjA2, etc.), then the complete set would be the union of those ranges. You could then use a Loop/For Each with i as variable, and do ProjAi.

Just a thought.
 
Upvote 0
Hi Shades

Thanks for the reply

Is there a way of seeing when the Named range has reached its limit?

a sort of If ActiveWorkbook.Name:="Project1".size = etc...

Or will I have to use the on error function?

Cheers
 
Upvote 0

Forum statistics

Threads
1,203,068
Messages
6,053,346
Members
444,654
Latest member
Rich Cohen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top