Maximum size of range object Windows vs Mac

crashcb18

New Member
Joined
Aug 20, 2011
Messages
12
All,
I wrote a code on my Mac Excel 2011 in which I had a range object that was a union of numerous other ranges (each was 1Rx141C). The code worked fine on my Mac. Then, when I ran it on Windows Excel 2010 (or maybe 2007), it rejected the code. During debugging, i noticed if I shortened that range object that was a union of other ranges, it worked. If I added another original range (one row with 141 cells), then it wouldn't work.

Is there a maximum size of one range?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
There is a maximum number of columns, but its greater than 255 in all versions of Excel.
How many Areas are there in the resulting range?
Are you doing anything odd, like making a union of intersecting ranges where the result is an odd shape.
E.G. Appliacation.Union(Range("A1:D10"), Range("C3:E15"))
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,234
Members
452,898
Latest member
Capolavoro009

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