Delete Rows with out using VBA

Guzzlr

Well-known Member
Joined
Apr 20, 2009
Messages
943
Office Version
  1. 2016
Platform
  1. Windows
Hello All,
If I have a blank cell E3, is it possible to Delete Row 3 with out using VBA?
Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Right click the row number & select Delete.
 
Upvote 0
Right click the row number & select Delete.

Right...I was looking for a built in excel function that I can drag down the entire sheet, and it would delete the rows? is that possible?
Thanks
 
Upvote 0
Right...I was looking for a built in excel function that I can drag down the entire sheet, and it would delete the rows? is that possible?
Excel formulas can only return values to the cells that they are located in. They cannot move or delete data.

In addition to VBA, there are various ways that might do what you want:
- Sort out the blanks (might possibly change the order of your data in a manner you don't want)
- Use filters to hide the blanks
- Use formulas to return the data to another range without blanks
- Select and delete all the blanks at once (see here: https://www.excel-easy.com/examples/delete-blank-rows.html)
 
Upvote 0
Excel formulas can only return values to the cells that they are located in. They cannot move or delete data.

OK, I was afraid of that, I'll use code. thanks
 
Upvote 0
OK, I was afraid of that, I'll use code. thanks
Take a look at the last link I provided. You can do that with VBA code (just turn on the Macro Recorder and do that manually to get most of the code that you need).
The advantage to doing it that way is that no loops are required (loops are notoriously slow and inefficent, and should be avoided whenever possible, if there is a better option available).
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,184
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top