Results 1 to 8 of 8

Remove blank columns

Threaded View

  1. #1
    Registered User
    Join Date
    01-08-2009
    Location
    Colorado
    MS-Off Ver
    Excel 2007, 2010 PC, 2011 Mac
    Posts
    41

    Remove blank columns

    I have a spreadsheet with app. 20,000 rows and 102 (CX) columns. I need help writing a macro that will start at column A and check to see if all the cells in that column starting at row 2 are empty. If all cells are empty I would like to delete the column.

    The issue I'm having wrapping my head around this is that if I delete column A and everything shifts to the left and I now go to column 2 I am missing one column that may need to be deleted.

    The first row is field names and all 102 have data in them. I would like to start at row 2.

    I am using excel 2007.

    Thanks
    Last edited by extrapulp; 04-26-2010 at 03:09 PM.

Thread Information

Users Browsing this Thread

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

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