+ Reply to Thread
Results 1 to 4 of 4

Delete empty cells and shift remaining left

  1. #1
    Registered User
    Join Date
    09-28-2008
    Location
    UK
    MS-Off Ver
    MS 365 Apps for Enterprise
    Posts
    64

    Question Delete empty cells and shift remaining left

    Hi there,

    I am looking for a method which would delete empty cells in a row, and then shift the remaining data to the left (filling the cells with data). I know that this could be done manually, but I need it completed for 3000 rows! I have attached a simple sheet to show what I'm Looking for.

    Hope someone can help.
    Attached Files Attached Files
    Last edited by kiboodez; 10-07-2008 at 01:14 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Try this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-28-2008
    Location
    UK
    MS-Off Ver
    MS 365 Apps for Enterprise
    Posts
    64

    Thanks...

    I have pasted the code in, but how do I activate it?

  4. #4
    Registered User
    Join Date
    04-22-2010
    Location
    east brunswick,new jersey
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    1

    Re: Delete empty cells and shift remaining left

    insert that line between the following lines:
    sub RemoveBlank()
    end sub

+ 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. Move between Input Cells Only by Tab, Enter, and Arrows
    By nadie111 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2008, 07:40 PM
  2. Delete with shift causes cells loose fill & border around
    By mikeburg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2008, 03:40 AM
  3. Insert, shift cells down and populate
    By ugg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-04-2007, 02:47 AM
  4. SHIFT + ENTER not working on some cells Excel 2003
    By debnla in forum Excel General
    Replies: 1
    Last Post: 07-17-2007, 09:27 PM
  5. Delete cell and shift cell up
    By mridzuan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-23-2007, 12:20 AM

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