I know I should have come up with answer already, BUT?

viper

Active Member
Joined
Feb 15, 2002
Messages
382
Okay, I've gotten my sort to work properly, and at the right time. My only problem is I cannot get my empty cells to stay at the bottom. I've used this code =" " & 'sheet6'!$A$5 and it works, the empty cells stay at the bottom, but using that code places a #value error in the cell. So, my question, I have my sort macro activated in the change_event of sheet 6, my sorting takes place on sheets 1-5, can I place code into the change_event of sheets 1-5 that counter-act the sort(put the empty cells at the bottom)something along the lines of
=if(Range("A5:A8") = " ", move A9 and A10 into A5 and A6 or something like that?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,214,651
Messages
6,120,738
Members
448,988
Latest member
BB_Unlv

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