+ Reply to Thread
Results 1 to 5 of 5

Macro Button To Clear Certain Cells

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Macro Button To Clear Certain Cells

    can any1 help to send me vba code to delete all the empty lines automatically after press commandbutton using macro? pls
    Last edited by JBeaucaire; 03-16-2014 at 09:47 PM. Reason: Moved to thread of its own, as per Forum Rule #2. Please read the rules, link above in the menu bar.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,279

    Re: Macro Button To Clear Certain Cells

    What is your definition of an empty line?
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    03-11-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Macro Button To Clear Certain Cells

    I mean delete te blank rows using macro ...I want to delete the rows permanently..I don wan it to overlap aftr I delete te current row...for example I hv data range a1 to a50 so I wan to delete after a50 until te last row in excel...I jus wan te data to b tere not te blank rows...can u help me

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,279

    Re: Macro Button To Clear Certain Cells

    You can hide them, but you cannot delete them - they will always be there. That is just how Excel works. If you want something different, then you would need to use some other software.

  5. #5
    Registered User
    Join Date
    03-11-2014
    Location
    malaysia
    MS-Off Ver
    Excel 2003
    Posts
    4

    I want to compare multiple columns using macro

    I wan to compare multiple columns in single macro and highlight words that dont match...so how to this in single macro?
    I have attached the sample code which I got...this code is for 2 column I need for 17 columns so pls help me
    Attached Files Attached Files

+ 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. VBA button to clear 'unlocked' cells
    By jvegastn in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2017, 12:31 PM
  2. [SOLVED] create a 'button' to click to clear cells
    By OAKLEY in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-13-2014, 07:12 AM
  3. Macro Button To Clear Certain Cells
    By TroyDurham in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-28-2009, 03:33 AM
  4. Create a button to clear data in certain cells
    By headbanger51 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-07-2008, 03:18 AM
  5. [SOLVED] Create a button to Clear Cells
    By tamato43 in forum Excel General
    Replies: 3
    Last Post: 05-15-2005, 10: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