Automatic Sorting Help

ozstephan

Board Regular
Joined
Nov 19, 2005
Messages
52
Hi everyone:
I'm not sure whether I'm asking too much with this wish but I'll give it a go. I have a shared worksheet which consists of 14 columns and approx 100 rows. It is a working document with many users and growing in size. It also has a column which automatically records the last time anything was updated in the corresponding row. This is column 'B'

So what I would like to be able to do is for the spreadsheet to sort in the same way as a Data>Sort but do it by date automatically everytime the date in column 'B' is changed or at least each time the worksheet is saved.

Is this possible?
Thanks everyone.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
58,945
Office Version
  1. 365
Platform
  1. Windows
Sure, you can do that with VBA code. There is VBA code that is automatically triggered by "events", such as changing the value of a cell, or saving the workbook. These are called Event Procedures.

Here is a good link on Event Procedures:
http://www.cpearson.com/excel/events.htm
 

Forum statistics

Threads
1,141,011
Messages
5,703,725
Members
421,311
Latest member
tanujath

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
Top