Want to delete the whole data

Dinesh Kumar Palani

New Member
Joined
Jul 27, 2015
Messages
8
Hi Friends,

Here is my question..

Let's assume that, we are entering the number from 1 to 9 in a excel cell. So the number would be like 123456789.

My Question is to delete the whole data by pressing one hot key. The hot key should be like a single letter("*" or "#" or "&" or etc..,). The key should not be like Ctrl + some word or ALT + some word.:confused:

For example, we have entered till 5. Now I need to delete 12345 by pressing one hot key before giving Enter Key OR complete the cell.:eek:
 
Last edited:

Dinesh Kumar Palani

New Member
Joined
Jul 27, 2015
Messages
8
Thanks for your reply Jim. But we can use Delete Key if we completed the cell.

But before completing the cell we cannot use Delete key to delete the whole data. any suggestions?
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
35,504
Office Version
2010
Platform
Windows
Thanks for your reply Jim. But we can use Delete Key if we completed the cell.

But before completing the cell we cannot use Delete key to delete the whole data. any suggestions?
Are you talking about deleting everything you have typed so far while editing a cell's content so that you can change what you going to type into the cell? If so, just press SHIFT+HOME (it will select all the text type up to that point) and then type your new text (which will then overwrite the selected text).
 

Dinesh Kumar Palani

New Member
Joined
Jul 27, 2015
Messages
8
Yes Rick, you got it what i am trying to say..
But it should be in Single Key since I am trying this for a quiz for my office employees. It would be great if you assist me if there is VBA Code available for this specific thing.
 

Smitty

MrExcel MVP
Joined
May 15, 2003
Messages
29,536
Welcome to the Board!

Unfortunately, while a cell is in Edit mode everything else is on hold until you exit (Esc, Tab, Enter, etc.).
 

Forum statistics

Threads
1,082,017
Messages
5,362,695
Members
400,686
Latest member
Aakash

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top