I am in the midst of a mind numbing exercise to "clean-up" billing entries. I have 5 workbooks each with a sheet of 60,000 rows of data.
Anyway in the editing process, I need to delete rows. I have been using the keyboard shortcut ctrl - {minus}, but this keystroke shortcut brings up the dialog box for me to select the entire row radio button and then ok.
My question is there a keyboard macro that will automatically delete the entire row and not ask for a confirmation via the dialog box? This simple solution would same me countless hours in editing...thanks.
I am using Excel 2002 on win xp sp3.
Keyboard Shortcut to Delete Rows
-
- PlutoniumLounger
- Posts: 15651
- Joined: 24 Jan 2010, 23:23
- Location: brings.slot.perky
Re: Keyboard Shortcut to Delete Rows
See also This Thread
Attached is a BAS file with two macros I wrote to do what (I think) you're doing.
Attached is a BAS file with two macros I wrote to do what (I think) you're doing.
He who plants a seed, plants life.
-
- Administrator
- Posts: 78629
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Keyboard Shortcut to Delete Rows
You can use Shift+Spacebar to extend the current selection to entire row(s).
Ctrl+- will then delete the selected rows without asking for confirmation.
If you prefer a macro:
You can assign this to a keyboard shortcut.
Ctrl+- will then delete the selected rows without asking for confirmation.
If you prefer a macro:
Code: Select all
Sub DeleteRows()
Selection.EntireRow.Delete
End Sub
Best wishes,
Hans
Hans
-
- 3StarLounger
- Posts: 382
- Joined: 08 Feb 2010, 16:08
Re: Keyboard Shortcut to Delete Rows
Hans, Chris,
Many thank for the quick replies...This information will help me greatly. Again, thank you.
JimC
Many thank for the quick replies...This information will help me greatly. Again, thank you.
JimC