Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Excel limits question

I see that Excel's limits for a sheet are 65,536 rows and 256 columns.
Does this mean I can't have 1 row with 650 columns??

I was planning to use the following code:

For N = 1 to 650
Cells(1, N).Value = N
Next N

I tested this code and seemed to work okay. I'm just curious
why the specs say 256 colums is max, yet I managed to fill
in cells (1,1) to cells (1,650) with values??


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Excel limits question

excel 2003 - 65536 rows -256 columns
excel 2007 - Worksheet size 1,048,576 rows by 16,384 columns

--


Gary Keramidas
Excel 2003


"Robert Crandal" wrote in message
...
I see that Excel's limits for a sheet are 65,536 rows and 256 columns.
Does this mean I can't have 1 row with 650 columns??

I was planning to use the following code:

For N = 1 to 650
Cells(1, N).Value = N
Next N

I tested this code and seemed to work okay. I'm just curious
why the specs say 256 colums is max, yet I managed to fill
in cells (1,1) to cells (1,650) with values??



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Excel limits question

Run this code and all will be revealed:

Sub test()

MsgBox "Row number: " & Cells(650).Row & vbCrLf & _
"Column number: " & Cells(650).Column, , _
"Cells(650)"

End Sub


RBS



"Robert Crandal" wrote in message
...
I see that Excel's limits for a sheet are 65,536 rows and 256 columns.
Does this mean I can't have 1 row with 650 columns??

I was planning to use the following code:

For N = 1 to 650
Cells(1, N).Value = N
Next N

I tested this code and seemed to work okay. I'm just curious
why the specs say 256 colums is max, yet I managed to fill
in cells (1,1) to cells (1,650) with values??



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel limits Jac Tremblay[_4_] Excel Programming 2 May 16th 08 11:55 PM
Limits of Excel [email protected] Excel Programming 7 November 14th 07 05:29 PM
Excel 2007 question - row and column limits jmcclain Excel Discussion (Misc queries) 5 February 22nd 07 04:12 PM
Limits of excel adriaSTEFANIE Excel Discussion (Misc queries) 4 April 25th 05 01:09 PM
Excel Tab limits Iggy Excel Discussion (Misc queries) 1 March 22nd 05 09:04 PM


All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"