Sort automatically?

RickeyS

Board Regular
Joined
Jun 23, 2006
Messages
222
I have a spreadsheet that keeps track of overtime hrs worked, which based on person with lowest hrs I can assign the next overtime to the person with the lowest hrs. When I put in hours worked I have a column that keeps a running total.
Here's what I need:
Once I enter someone's hours and it auto sums I want the sheet to automatically resort for lowest hours (running total). How would I do this?
Thanks
Rick
 
Put Application.EnableEvents = False at the beginning of the code and Application.EnableEvents = True at the end.

That will prevent that recursive recalculation.

Smitty
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,216,189
Messages
6,129,406
Members
449,509
Latest member
ajbooisen

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