setting range

shekhar_pc

Board Regular
Joined
Jan 29, 2006
Messages
185
Code:
Sub Example1()
  Dim r as Range
  set r = range("A1:T65536")
  Msgbox r.rows.count
End Sub()
Code:
Sub Example2()
  Dim r as Range
  set r = range("V1:AO34464")
  Msgbox r.rows.count
End Sub()
In the first example, the message box show the count 65536 since there are 65536 rows in the range. In the second example it shows 34464.

I want to set a range that should carry 100000 rows. In short, I want to set data in the range V1:AO34464 exactly below A1:T65536 so that the total rows becomes 100000.

Is this possible? If yes, How?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

DominicB

Well-known Member
Joined
Oct 3, 2005
Messages
1,569
Good afternoon shekhar_pc

In short, I want to set data in the range V1:AO34464 exactly below A1:T65536 so that the total rows becomes 100000.
Is this possible?

No. This is definitely not possible. The number of available rows in Excel is fixed at 65,6536 (2^16) and is not extendable. At all.

You have two choices :

Use Access
Wait for Excel 12 to become available (or try the beta version).

HTH

DominicB
 

Forum statistics

Threads
1,176,416
Messages
5,902,973
Members
435,002
Latest member
chenmoti

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
Top