Shift row up with clear. Contents

Ohad1997

New Member
Joined
Aug 13, 2017
Messages
21
I have a very big excel table, with indexed values for a built in search engine, because of that ordinary delete takes a very long time to proccess, so im using clear. Contents and filter that filter hidden "." next to cells containing a values alphabeticly to clear the empty spaces left after clearing a value, now for my question, the code works great and its much faster then deleting, but is there is a better way to achieve the same result? (clear the empty spaces left after Clear. Contents)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
The quickest way to deal with large amounts of data is generally to load the data into an array , do your adjustments on the array then write it back to the sheet inn one pass. You could also try turning off screen updating and set calculations to manual whilst the routine runs if your code is writing to the sheet one at a tine in some loop that will speed things up greatly if you have formulas on the sheet.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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