+ Reply to Thread
Results 1 to 3 of 3

How to trim the unused rows and collumns

  1. #1
    Registered User
    Join Date
    01-18-2016
    Location
    VN
    MS-Off Ver
    2013 & 2016
    Posts
    17

    How to trim the unused rows and collumns

    Dear All,

    My file have end row number at 1,048,576 , and collumn at BD while the actual end row number is only 153 and actual end column is AF.
    This cause my file too big some file have 60M in size.

    Please tell me where is the problem and help me how to trim the unused empty rows and column like that

    Thanks and best regards,
    Doco

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: How to trim the unused rows and collumns

    This cause my file too big some file have 60M in size.
    No the extra rows and columns would not cause that, there is probably another problem there.

    If you push end home, where do you end up? If it is not at the last known row and column, start to CAREFULLY delete rows and columns until you got to where you KNOW the last used row and column is.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: How to trim the unused rows and collumns

    Hi,

    If you know that last row with data is 153 and the last column with data is AF, then you could use this code and see if it helps. I would save a copy, then use this code on it to make sure you don't lose anything you meant to keep.

    Please Login or Register  to view this content.
    Hope it helps,

    Dan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Autofill rows/collumns
    By DeamonX in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2015, 06:43 AM
  2. Use variables to hide rows or collumns
    By jmacinnees in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-02-2014, 10:23 PM
  3. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  4. Rows/collumns freeze - Removing black line
    By kayard in forum Excel General
    Replies: 0
    Last Post: 12-15-2011, 12:48 PM
  5. Delete unused rows
    By schpanky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2007, 02:22 PM
  6. switching rows & collumns
    By littlewaywelt in forum Excel General
    Replies: 1
    Last Post: 12-02-2005, 12:50 PM
  7. [SOLVED] Collumns and rows
    By smintey in forum Excel General
    Replies: 3
    Last Post: 02-15-2005, 02:06 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1