+ Reply to Thread
Results 1 to 4 of 4

Clearing all cells in a range

  1. #1
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Clearing all cells in a range

    Hi guru's

    A colleague has just had XL2013 loaded onto his computer, up from XL2007. Most things I have been able to help him with, but he's just come across something that I don't know how to fix (I use 2013 at home, but I am most familiar with 2010 which is provided at work). If he selects a range of cells and hits the delete key the whole range is cleared. If he hits the Backspace key (his preference) it only clears the active cell. Is there a way to change that so the backspace key clears the entire range selected?
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

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

    Re: Clearing all cells in a range

    Don't think there is a way to change that behavior. I feel 'BACKSPACE' is somehow linked to the active cell (like SHIFT+BACKSPACE would actually select the active cell within the selected range). If there's a workaround, I'd like to know it too (will follow this thread).

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Clearing all cells in a range

    That sounds kind of counter-intuative. In a cell, you "delete" the entire contents, and in edit mode, you "back-space" 1 char at at time. So with a range, it is doing the same thing (on 2007 as well as 2010 and 2013 - nothing has changed there) "delete" clears the whole range, "backspace" clears the actice cell.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Clearing all cells in a range

    Here is a possible workaround.. (I hope..)
    Please Login or Register  to view this content.
    Just copy this code to your original worksheet.. and Run On_Key Macro....
    Then try selecting the range and hit BACKSPACE.. it will perform like you hit DELETE...
    However, if you hit BACKSPACE in edit mode.. it will perform as usual...
    Last edited by Vikas_Gautam; 09-11-2014 at 11:37 PM.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

+ 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. Clear range based on cell value - clearing cells out of specified range
    By CADiphile in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-15-2013, 02:48 PM
  2. [SOLVED] Clearing a check box range
    By travler75 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2012, 01:17 AM
  3. Clearing a cell Range
    By jkelly228 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2011, 05:23 PM
  4. clearing values out of a range of cells
    By jartzh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2010, 04:10 PM
  5. [SOLVED] need some help clearing a range
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2006, 10:10 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