Consulting

Results 1 to 7 of 7

Thread: How to add columns to a Worksheet?

  1. #1
    VBAX Contributor
    Joined
    Jun 2006
    Posts
    135
    Location

    How to add columns to a Worksheet?

    It seems that the maximum number of column in Excel is 256 (column IV). IS there a way to go further than this?

  2. #2
    VBAX Mentor ALe's Avatar
    Joined
    Aug 2005
    Location
    Milan
    Posts
    383
    Location
    no as far as I know. It can be done in the new version of excel.

  3. #3
    VBAX Tutor
    Joined
    Mar 2005
    Posts
    221
    Location
    Order Excel 2007 BEta, it is free, and you only pay for shipping. It goes 1 million cells down, and over to XX I believe.

  4. #4
    VBAX Contributor
    Joined
    Jun 2006
    Posts
    135
    Location
    Ok, I don't really want to use a beta, since it is a beta and is probably not bug-free. Anyway that would improve a bit, but not change the numbers of column significantly. 250 or 500 columns is the same order. I finally switched the rows and the columns in my worksheet, but I will be embarassed the day I need to create a 10000*10000 matrix. I could try to represent it as a 200000*500 table, but that would be really complicated because you wouldn't find the Cells(i,j) symmetric structure. Maybe Excel is just not the good software to represent matrices, but I still not understand why the rows and columns don't play the same role, or at least why you can't configure the numbers or rows or columns you which to use (provided you don't exceed your memory).

  5. #5
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Jungix,
    I believe the new spreadsheet size is 2^20 rows x 2^14 columns.
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  6. #6
    VBAX Contributor
    Joined
    Jun 2006
    Posts
    135
    Location
    Thanks mdmackillop,

    I look forward to this new version then, 2^14 seems already a bit better

  7. #7
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    Have you thought about possibly transposing your layout to get it to fit?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •