+ Reply to Thread
Results 1 to 3 of 3

Help with a macro to delete empty (but not blank) cells OR sort blanks to the bottom

  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    Chicago
    MS-Off Ver
    2007
    Posts
    25

    Help with a macro to delete empty (but not blank) cells OR sort blanks to the bottom

    Recipes.xlsm

    I'm trying to create a list of all items marked as ingredients without any blank cells. Right now I've got the columns in the Validation2 tab reflecting how they're set up in the master database. In the Validation tab, I want to be able to have a list of all items marked as ingredients in alphabetical order. Using the Go To Special doesn't work because the cells aren't blank. The code I'm using is:
    Please Login or Register  to view this content.
    but it doesn't work completely; it only deletes some of the empty cells.

    Is there a way to sort a column alphabetically with the blanks at the bottom, or to edit this code so that it deletes all of the blank cells?

  2. #2
    Forum Contributor
    Join Date
    03-21-2012
    Location
    Ho Chi Minh city
    MS-Off Ver
    Excel 2003
    Posts
    180

    Re: Help with a macro to delete empty (but not blank) cells OR sort blanks to the bottom

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-05-2012
    Location
    Chicago
    MS-Off Ver
    2007
    Posts
    25

    Re: Help with a macro to delete empty (but not blank) cells OR sort blanks to the bottom

    Seems to work perfectly, thanks!

+ Reply to Thread

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