+ Reply to Thread
Results 1 to 2 of 2

Delete and select empty Cells

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    92

    Delete and select empty Cells

    Hi I am trying to delete/select empty cells in Column C.

    I tested the code in my work sheet which has close to a million rows. this code for some reason doesnt work. its selecting empty cells from Cell C, that is not working.

    when I test it on a new worksheet it worked fine. Any idea how to improve the code?

    Please Login or Register  to view this content.
    Thankyou

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Lightbulb Re: Delete and select empty Cells

    quick suggestion: remove the ".Cells(1)" part in your code & try again. (that is probably making excel select the first cell of all the cells that are blank)
    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 07-25-2013, 01:01 PM
  2. How to select a worksheet and delete the rows that are 0 or empty on column 3(C)
    By lee478 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2013, 10:44 PM
  3. [SOLVED] still have empty cell after run Delete empty cells code
    By tuongtu3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-25-2012, 04:28 PM
  4. How to select empty cells in a column?
    By iturnrocks in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2008, 03:34 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